TranslatableInterface.php in Drupal 9
Same filename in this branch
Same filename and directory in other branches
Namespace
Drupal\Core\EntityFile
core/lib/Drupal/Core/Entity/TranslatableInterface.phpView source
<?php
namespace Drupal\Core\Entity;
use Drupal\Core\TypedData\TranslatableInterface as TranslatableDataInterface;
/**
* Provides methods for an entity to support translation.
*/
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
Name | Description |
---|---|
TranslatableInterface | Provides methods for an entity to support translation. |