You are here

public function ContentTypeConfiguration::findRequiredModules in Configuration Management 7.2

Overrides Drupal\configuration\Config\Configuration::findRequiredModules().

Overrides Configuration::findRequiredModules

File

lib/Drupal/configuration/Config/ContentTypeConfiguration.php, line 77
Definition of Drupal\configuration\Config\ContentTypeConfiguration.

Class

ContentTypeConfiguration

Namespace

Drupal\configuration\Config

Code

public function findRequiredModules() {
  if ($this->data->base == 'node_content' || $this->data->base == 'configuration') {
    $this
      ->addToModules('node');
  }
  else {
    $this
      ->addToModules($this->data->base);
  }
}