public static function CtoolsConfiguration::getComponentHumanName in Configuration Management 7.2
Overrides Drupal\configuration\Config\Configuration::getComponentHumanName().
Overrides Configuration::getComponentHumanName
5 methods override CtoolsConfiguration::getComponentHumanName()
- FieldGroupConfiguration::getComponentHumanName in lib/
Drupal/ configuration/ Config/ FieldGroupConfiguration.php - Overrides Drupal\configuration\Config\Configuration::getComponentHumanName().
- PageManagerHandlerConfiguration::getComponentHumanName in lib/
Drupal/ configuration/ Config/ PageManagerHandlerConfiguration.php - Overrides Drupal\configuration\Config\Configuration::getComponentHumanName().
- PanelizerConfiguration::getComponentHumanName in lib/
Drupal/ configuration/ Config/ PanelizerConfiguration.php - Overrides Drupal\configuration\Config\Configuration::getComponentHumanName().
- StrongarmConfiguration::getComponentHumanName in lib/
Drupal/ configuration/ Config/ StrongarmConfiguration.php - Overrides Drupal\configuration\Config\Configuration::getComponentHumanName().
- ViewConfiguration::getComponentHumanName in lib/
Drupal/ configuration/ Config/ ViewConfiguration.php - Overrides Drupal\configuration\Config\Configuration::getComponentHumanName().
File
- lib/
Drupal/ configuration/ Config/ CtoolsConfiguration.php, line 53 - Definition of Drupal\configuration\Config\CtoolsConfiguration.
Class
Namespace
Drupal\configuration\ConfigCode
public static function getComponentHumanName($component, $plural = FALSE) {
ctools_include('export');
foreach (ctools_export_get_schemas_by_module() as $module => $schemas) {
if (!empty($schemas[$component])) {
if (!empty($schemas[$component]['export']['identifier'])) {
return $schemas[$component]['export']['identifier'];
}
return $component;
}
}
return '';
}