protected function ConfigEntityStorage::getPrefix in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php \Drupal\Core\Config\Entity\ConfigEntityStorage::getPrefix()
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php \Drupal\Core\Config\Entity\ConfigEntityStorage::getPrefix()
Returns the prefix used to create the configuration name.
The prefix consists of the config prefix from the entity type plus a dot for separating from the ID.
Return value
string The full configuration prefix, for example 'views.view.'.
7 calls to ConfigEntityStorage::getPrefix()
- ConfigEntityStorage::doDelete in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - Performs storage-specific entity deletion.
- ConfigEntityStorage::doLoadMultiple in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - Performs storage-specific loading of entities.
- ConfigEntityStorage::doSave in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - Performs storage-specific saving of the entity.
- ConfigEntityStorage::has in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - Determines if this entity already exists in storage.
- ConfigEntityStorage::hasData in core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php - Determines if the storage contains any data.
File
- core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php, line 144
Class
- ConfigEntityStorage
- Defines the storage class for configuration entities.
Namespace
Drupal\Core\Config\EntityCode
protected function getPrefix() {
return $this->entityType
->getConfigPrefix() . '.';
}