You are here

public static function CtoolsConfiguration::supportedComponents in Configuration Management 7.2

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

Overrides Configuration::supportedComponents

5 methods override CtoolsConfiguration::supportedComponents()
FieldGroupConfiguration::supportedComponents in lib/Drupal/configuration/Config/FieldGroupConfiguration.php
Overrides Drupal\configuration\Config\Configuration::supportedComponents().
PageManagerHandlerConfiguration::supportedComponents in lib/Drupal/configuration/Config/PageManagerHandlerConfiguration.php
Overrides Drupal\configuration\Config\Configuration::supportedComponents().
PanelizerConfiguration::supportedComponents in lib/Drupal/configuration/Config/PanelizerConfiguration.php
Overrides Drupal\configuration\Config\Configuration::supportedComponents().
StrongarmConfiguration::supportedComponents in lib/Drupal/configuration/Config/StrongarmConfiguration.php
Overrides Drupal\configuration\Config\Configuration::supportedComponents().
ViewConfiguration::supportedComponents in lib/Drupal/configuration/Config/ViewConfiguration.php
Overrides Drupal\configuration\Config\Configuration::supportedComponents().

File

lib/Drupal/configuration/Config/CtoolsConfiguration.php, line 76
Definition of Drupal\configuration\Config\CtoolsConfiguration.

Class

CtoolsConfiguration

Namespace

Drupal\configuration\Config

Code

public static function supportedComponents() {
  if (!static::isActive()) {
    return array();
  }
  $supported = array();
  ctools_include('export');
  foreach (ctools_export_get_schemas_by_module() as $module => $schemas) {
    foreach ($schemas as $table => $schema) {
      if (isset($schema['export']) && $schema['export']['bulk export']) {
        $supported[] = $table;
      }
    }
  }
  return $supported;
}