You are here

public static function EntityConfigurationHandler::getSupportedTypes in Configuration Management 7.3

Returns the types of configurations that this class can handle.

Return value

array.

Overrides ConfigurationHandler::getSupportedTypes

1 call to EntityConfigurationHandler::getSupportedTypes()
ConfigurationManager::registerHandlers in src/ConfigurationManager.php

File

src/Handlers/EntityConfigurationHandler.php, line 11

Class

EntityConfigurationHandler

Namespace

Configuration\Handlers

Code

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