TranslatableInterface.php
Same filename in this branch
Same filename in other branches
- 8.9.x core/lib/Drupal/Core/TypedData/TranslatableInterface.php
- 8.9.x core/lib/Drupal/Core/Entity/TranslatableInterface.php
- 10 core/lib/Drupal/Core/TypedData/TranslatableInterface.php
- 10 core/lib/Drupal/Core/Entity/TranslatableInterface.php
- 11.x core/lib/Drupal/Core/TypedData/TranslatableInterface.php
- 11.x core/lib/Drupal/Core/Entity/TranslatableInterface.php
Namespace
Drupal\Core\EntityFile
-
core/
lib/ Drupal/ Core/ Entity/ TranslatableInterface.php
View source
<?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();
}
Interfaces
Title | Deprecated | Summary |
---|---|---|
TranslatableInterface | Provides methods for an entity to support translation. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.