You are here

public function FieldBaseConfigurationHandler::onLoadFromDatabaseFieldInstance in Configuration Management 7.3

File

src/Handlers/FieldBaseConfigurationHandler.php, line 106

Class

FieldBaseConfigurationHandler

Namespace

Configuration\Handlers

Code

public function onLoadFromDatabaseFieldInstance($event) {
  $name = $this
    ->getInternalId($event->configuration
    ->getIdentifier());
  list($entity_type, $bundle, $field_name) = explode('.', $name);
  $this->configuration_manager
    ->newDependency($event->configuration, 'field_base.' . $field_name);
}