protected function VocabularyConfiguration::prepareBuild in Configuration Management 7.2
Implements Drupal\configuration\Config\Configuration::prepareBuild().
Overrides Configuration::prepareBuild
File
- lib/
Drupal/ configuration/ Config/ VocabularyConfiguration.php, line 94 - Definition of Drupal\configuration\Config\VocabularyConfiguration.
Class
Namespace
Drupal\configuration\ConfigCode
protected function prepareBuild() {
$vocabularies = taxonomy_get_vocabularies();
foreach ($vocabularies as $vocabulary) {
if ($vocabulary->machine_name == $this
->getIdentifier()) {
$this->data = $vocabulary;
break;
}
}
return $this;
}