You are here

public function EntityApiConfiguration::prepareBuild in Configuration Management 7.2

Implements Drupal\configuration\Config\Configuration::prepareBuild().

Overrides Configuration::prepareBuild

File

lib/Drupal/configuration/Config/EntityApiConfiguration.php, line 144
Definition of Drupal\configuration\Config\EntityApiConfiguration.

Class

EntityApiConfiguration

Namespace

Drupal\configuration\Config

Code

public function prepareBuild() {
  $entity_type = $this
    ->getComponent();
  $this->data = entity_load_single($entity_type, $this
    ->getIdentifier());
  return $this;
}