ConfigEntityMapper

Configuration mapper for configuration entities. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\config_translation\ConfigNamesMapper implements ConfigMapperInterface, ContainerFactoryPluginInterfaceclass \Drupal\config_translation\ConfigEntityMapper File core/modules/config_translation/src/ConfigEntityMapper.php

ConfigEntityListBuilder::load

public ConfigEntityListBuilder::load() Loads entities of this type from storage for listing. This allows the implementation to manipulate the listing, like filtering or sorting the loaded entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entities implementing \Drupal\Core\Entity\EntityInterface. Overrides EntityListBuilder::load File core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php, line 18 Class ConfigEntityListBuilder Defines the default class to bui

ConfigEntityListBuilder::getDefaultOperations

public ConfigEntityListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides EntityListBuilder::getDefaultOperations File core/lib/Drupal/Core/Config/Entity/ConfigEntityListBuilder.php, line 31 Class ConfigEntityListBuilder Defines the default class to bu

ConfigEntityListBuilder

Defines the default class to build a listing of configuration entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilder Related topics Entity API Describes how to define and manipulate content and configuration entities. File core/lib/Drupal/Core/Config/Entity/Config

ConfigEntityInterface::trustData

public ConfigEntityInterface::trustData() Sets that the data should be trusted. If the data is trusted then dependencies will not be calculated on save and schema will not be used to cast the values. Generally this is only used during module and theme installation. Once the config entity has been saved the data will no longer be marked as trusted. This is an optimization for creation of configuration during installation. Return value $this See also \Drupal\Core\Config\ConfigInstaller::createC

ConfigEntityInterface::status

public ConfigEntityInterface::status() Returns whether the configuration entity is enabled. Status implementations for configuration entities should follow these general rules: Status does not affect the loading of entities. I.e. Disabling configuration entities should only have UI/access implications. It should only take effect when a 'status' key is explicitly declared in the entity_keys info of a configuration entity's annotation data. Each entity implementation (entity/controller) is respon

ConfigEntityInterface::setSyncing

public ConfigEntityInterface::setSyncing($status) Sets the status of the isSyncing flag. Parameters bool $status: The status of the sync flag. Return value $this File core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php, line 47 Class ConfigEntityInterface Defines a common interface for configuration entities. Namespace Drupal\Core\Config\Entity Code public function setSyncing($status);

ConfigEntityInterface::setStatus

public ConfigEntityInterface::setStatus($status) Sets the status of the configuration entity. Parameters bool $status: The status of the configuration entity. Return value $this File core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php, line 37 Class ConfigEntityInterface Defines a common interface for configuration entities. Namespace Drupal\Core\Config\Entity Code public function setStatus($status);

ConfigEntityInterface::set

public ConfigEntityInterface::set($property_name, $value) Sets the value of a property. Parameters string $property_name: The name of the property that should be set. mixed $value: The value the property should be set to. Return value $this File core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php, line 137 Class ConfigEntityInterface Defines a common interface for configuration entities. Namespace Drupal\Core\Config\Entity Code public function set($property_name, $value);

ConfigEntityInterface::onDependencyRemoval

public ConfigEntityInterface::onDependencyRemoval(array $dependencies) Informs the entity that entities it depends on will be deleted. This method allows configuration entities to remove dependencies instead of being deleted themselves. Configuration entities can use this method to avoid being unnecessarily deleted during an extension uninstallation. For example, entity displays remove references to widgets and formatters if the plugin that supplies them depends on a module that is being uninst