You are here

protected function FieldConfiguration::prepareBuild in Configuration Management 7.2

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

Overrides Configuration::prepareBuild

File

lib/Drupal/configuration/Config/FieldConfiguration.php, line 127
Definition of Drupal\configuration\Config\FieldConfiguration.

Class

FieldConfiguration

Namespace

Drupal\configuration\Config

Code

protected function prepareBuild() {
  $this->data = $this
    ->field_load($this->identifier);
  if (empty($this->data)) {
    $this->data = NULL;
  }
  return $this;
}