You are here

protected function ExifSettingsController::getFieldConfig in Exif 8

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

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');
}