ConfigEntityBase::getConfigDependencyName

public ConfigEntityBase::getConfigDependencyName() Gets the configuration dependency name. Configuration entities can depend on content and configuration entities. They store an array of content and config dependency names in their "dependencies" key. Return value string The configuration dependency name. Overrides Entity::getConfigDependencyName See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 482 Class ConfigE

ConfigEntityBase::getCacheTagsToInvalidate

public ConfigEntityBase::getCacheTagsToInvalidate() Returns the cache tags that should be used to invalidate caches. This will not return additional cache tags added through addCacheTags(). Return value string[] Set of cache tags. Overrides Entity::getCacheTagsToInvalidate See also \Drupal\Core\Cache\RefinableCacheableDependencyInterface::addCacheTags() \Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags() File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 439 Cla

ConfigEntityBase::get

public ConfigEntityBase::get($property_name) Returns the value of a property. Parameters string $property_name: The name of the property that should be returned. Return value mixed The property if it exists, or NULL otherwise. Overrides ConfigEntityInterface::get File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 157 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code public function get($property_name) { return

ConfigEntityBase::enable

public ConfigEntityBase::enable() Enables the configuration entity. Return value $this Overrides ConfigEntityInterface::enable File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 181 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code public function enable() { return $this->setStatus(TRUE); }

ConfigEntityBase::disable

public ConfigEntityBase::disable() Disables the configuration entity. Return value $this Overrides ConfigEntityInterface::disable File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 188 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code public function disable() { return $this->setStatus(FALSE); }

ConfigEntityBase::createDuplicate

public ConfigEntityBase::createDuplicate() Creates a duplicate of the entity. Return value static A clone of $this with all identifiers unset, so saving it inserts a new entity into the storage system. Overrides Entity::createDuplicate File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 240 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code public function createDuplicate() { $duplicate = parent::createDuplicate(

ConfigEntityBase::calculateDependencies

public ConfigEntityBase::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityInterface::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 379 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code public function calculateDependencies() { // All dependen

ConfigEntityBase::addDependency

protected ConfigEntityBase::addDependency($type, $name) Overrides \Drupal\Core\Entity\DependencyTrait:addDependency(). Note that this function should only be called from implementations of \Drupal\Core\Config\Entity\ConfigEntityInterface::calculateDependencies(), as dependencies are recalculated during every entity save. See also \Drupal\Core\Config\Entity\ConfigEntityDependency::hasDependency() File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 454 Class ConfigEntityBase

ConfigEntityBase::$_core

Information maintained by Drupal core about configuration. Keys: default_config_hash: A hash calculated by the config.installer service and added during installation. Type: array File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 100 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code protected $_core = [];

ConfigEntityBase::$uuid

The UUID for this entity. Type: string File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 49 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code protected $uuid;