You are here

protected function StorageManager::loadFieldStorage in Paragraph View Mode 8

Same name and namespace in other branches
  1. 2.x src/StorageManager.php \Drupal\paragraph_view_mode\StorageManager::loadFieldStorage()

Load existing field storage.

Return value

\Drupal\field\FieldStorageConfigInterface|null Field storage configuration entity.

1 call to StorageManager::loadFieldStorage()
StorageManager::getFieldStorage in src/StorageManager.php
Get field config storage.

File

src/StorageManager.php, line 265

Class

StorageManager
Provides fields and forms storage operations required by the module.

Namespace

Drupal\paragraph_view_mode

Code

protected function loadFieldStorage() : ?FieldStorageConfigInterface {
  return FieldStorageConfig::loadByName($type = StorageManagerInterface::ENTITY_TYPE, $field_name = StorageManagerInterface::FIELD_NAME);
}