function EntityTestExtraHooks::entityFieldStorageInfo

Implements hook_entity_field_storage_info().

File

core/modules/system/tests/modules/entity_test_extra/src/Hook/EntityTestExtraHooks.php, line 26

Class

EntityTestExtraHooks
Hook implementations for entity_test_extra.

Namespace

Drupal\entity_test_extra\Hook

Code

public function entityFieldStorageInfo(EntityTypeInterface $entity_type) {
    return \Drupal::state()->get($entity_type->id() . '.additional_field_storage_definitions', []);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.