protected function ConfigEntityStorage::getPrefix in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php \Drupal\Core\Config\Entity\ConfigEntityStorage::getPrefix()
- 10 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.'.
6 calls to ConfigEntityStorage::getPrefix()
- 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.
- FieldConfigStorageBase::mapFromStorageRecords in core/
lib/ Drupal/ Core/ Field/ FieldConfigStorageBase.php - Maps from storage records to entity objects.
File
- core/
lib/ Drupal/ Core/ Config/ Entity/ ConfigEntityStorage.php, line 155
Class
- ConfigEntityStorage
- Defines the storage class for configuration entities.
Namespace
Drupal\Core\Config\EntityCode
protected function getPrefix() {
return $this->entityType
->getConfigPrefix() . '.';
}