Same name and namespace in other branches
  1. 8.x-2.x src/Controller/ExifSettingsController.php \Drupal\exif\Controller\ExifSettingsController::getFieldConfig() 1 comment

Get EntityStorage for Fields Configuration.

Return value

\Drupal\Core\Entity\EntityStorageInterface storage of fields configuration.

Throws

\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException

\Drupal\Component\Plugin\Exception\PluginNotFoundException

1 call to ExifSettingsController::getFieldConfig()
ExifSettingsController::entityAddExtraField in src/Controller/ExifSettingsController.php
Add a new field to the entity type.

File

src/Controller/ExifSettingsController.php, line 389

Class

ExifSettingsController
Class ExifSettingsController manage action of settings pages.

Namespace

Drupal\exif\Controller

Code

protected function getFieldConfig() {
    return $this->entityTypeManager()
        ->getStorage('field_config');
}