You are here

public static function EntityApiConfiguration::supportedComponents in Configuration Management 7.2

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

Overrides Configuration::supportedComponents

File

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

Class

EntityApiConfiguration

Namespace

Drupal\configuration\Config

Code

public static function supportedComponents() {
  $supported = array();
  foreach (entity_crud_get_info() as $type => $info) {
    if (!empty($info['exportable'])) {
      $supported[] = $type;
    }
  }
  return $supported;
}