Definition of Drupal\Core\Config\Entity\ConfigEntityInterface.
<?php
/**
* @file
* Definition of Drupal\Core\Config\Entity\ConfigEntityInterface.
*/
namespace Drupal\Core\Config\Entity;
use Drupal\Core\Entity\EntityInterface;
/**
* Defines the interface common for all configuration entities.
*/
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);
}
Name | Description |
---|---|
ConfigEntityInterface | Defines the interface common for all configuration entities. |