ConfigMapperManager::hasTranslatable

public ConfigMapperManager::hasTranslatable($name)

Returns TRUE if the configuration data has translatable items.

Parameters

string $name: Configuration key.

Return value

bool A boolean indicating if the configuration data has translatable items.

Overrides ConfigMapperManagerInterface::hasTranslatable

File

core/modules/config_translation/src/ConfigMapperManager.php, line 168

Class

ConfigMapperManager
Manages plugins for configuration translation mappers.

Namespace

Drupal\config_translation

Code

public function hasTranslatable($name) {
  return $this->findTranslatable($this->typedConfigManager->get($name));
}
doc_Drupal
2016-10-29 08:54:12
Comments
Leave a Comment

Please login to continue.