You are here

protected function ExifSettingsController::getFieldStorageConfig in Exif 8

Same name and namespace in other branches
  1. 8.2 src/Controller/ExifSettingsController.php \Drupal\exif\Controller\ExifSettingsController::getFieldStorageConfig()

Get storage for fields configuration.

Return value

\Drupal\Core\Entity\EntityStorageInterface The entity storage.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

3 calls to ExifSettingsController::getFieldStorageConfig()
ExifSettingsController::addFieldToEntityType in src/Controller/ExifSettingsController.php
Add a Field to an Entity Type.
ExifSettingsController::addReferenceToEntityType in src/Controller/ExifSettingsController.php
Add a field that reference a vocabulary.
ExifSettingsController::entityAddExtraField in src/Controller/ExifSettingsController.php
Add a new field to the entity type.

File

src/Controller/ExifSettingsController.php, line 375

Class

ExifSettingsController
Class ExifSettingsController manage action of settings pages.

Namespace

Drupal\exif\Controller

Code

protected function getFieldStorageConfig() {
  return $this
    ->entityTypeManager()
    ->getStorage('field_storage_config');
}