Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Drupal\Core\Entity; use Drupal\Core\TypedData\TranslatableInterface as T..

Decoded Output download

<?php

namespace Drupal\Core\Entity;

use Drupal\Core\TypedData\TranslatableInterface as TranslatableDataInterface;

/**
 * Provides methods for an entity to support translation.
 *
 * @ingroup entity_type_characteristics
 */
interface TranslatableInterface extends TranslatableDataInterface, EntityInterface {

  /**
   * Determines if the current translation of the entity has unsaved changes.
   *
   * @return bool
   *   TRUE if the current translation of the entity has changes.
   */
  public function hasTranslationChanges();

}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Drupal\Core\Entity;

use Drupal\Core\TypedData\TranslatableInterface as TranslatableDataInterface;

/**
 * Provides methods for an entity to support translation.
 *
 * @ingroup entity_type_characteristics
 */
interface TranslatableInterface extends TranslatableDataInterface, EntityInterface {

  /**
   * Determines if the current translation of the entity has unsaved changes.
   *
   * @return bool
   *   TRUE if the current translation of the entity has changes.
   */
  public function hasTranslationChanges();

}

Function Calls

None

Variables

None

Stats

MD5 ba027c23ac2ac3d61dda8018ada527cd
Eval Count 0
Decode Time 87 ms