interface ConfigEntityInterface

Defines the interface common for all configuration entities.

Hierarchy

Expanded class hierarchy of ConfigEntityInterface

All classes that implement ConfigEntityInterface

1 file declares its use of ConfigEntityInterface
ViewStorageInterface.php in drupal/core/modules/views/lib/Drupal/views/ViewStorageInterface.php
Definition of Drupal\views\ViewStorageInterface.

File

drupal/core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php, line 15
Definition of Drupal\Core\Config\Entity\ConfigEntityInterface.

Namespace

Drupal\Core\Config\Entity
View source
interface ConfigEntityInterface extends EntityInterface {

  /**
   * Returns the original ID.
   *
   * @return string|null
   *   The original ID, if any.
   */
  public function getOriginalID();

  /**
   * Sets the original ID.
   *
   * @param string $id
   *   The new ID to set as original ID.
   *
   * @return void
   */
  public function setOriginalID($id);

}

Members

Namesort descending Modifiers Type Description Overrides
AccessibleInterface::access public function Checks data value access. 4
ComplexDataInterface::get public function Gets a property object. 5
ComplexDataInterface::getProperties public function Gets an array of property objects. 5
ComplexDataInterface::getPropertyDefinition public function Gets the definition of a contained property. 5
ComplexDataInterface::getPropertyDefinitions public function Gets an array property definitions of contained properties. 12
ComplexDataInterface::getPropertyValues public function Gets an array of property values. 5
ComplexDataInterface::isEmpty public function Determines whether the data structure is empty. 5
ComplexDataInterface::set public function Sets a property value. 5
ComplexDataInterface::setPropertyValues public function Sets multiple property values. 5
ConfigEntityInterface::getOriginalID public function Returns the original ID. 2
ConfigEntityInterface::setOriginalID public function Sets the original ID. 2
EntityInterface::bundle public function Returns the bundle of the entity. 2
EntityInterface::createDuplicate public function Creates a duplicate of the entity. 2
EntityInterface::delete public function Deletes an entity permanently. 2
EntityInterface::enforceIsNew public function Enforces an entity to be new. 2
EntityInterface::entityInfo public function Returns the info of the type of the entity. 2
EntityInterface::entityType public function Returns the type of the entity. 2
EntityInterface::getRevisionId public function Returns the revision identifier of the entity. 2
EntityInterface::id public function Returns the entity identifier (the entity's machine name or numeric ID). 2
EntityInterface::isDefaultRevision public function Checks if this entity is the default revision. 2
EntityInterface::isNew public function Returns whether the entity is new. 2
EntityInterface::isNewRevision public function Returns whether a new revision should be created on save. 2
EntityInterface::label public function Returns the label of the entity. 2
EntityInterface::save public function Saves an entity permanently. 2
EntityInterface::setNewRevision public function Enforces an entity to be saved as a new revision. 2
EntityInterface::uri public function Returns the URI elements of the entity. 2
EntityInterface::uuid public function Returns the entity UUID (Universally Unique Identifier). 2
TranslatableInterface::getTranslation public function Gets a translation of the data. 2
TranslatableInterface::getTranslationLanguages public function Returns the languages the data is translated to. 2
TranslatableInterface::language public function Returns the default language. 2