public function ConfigMapperManager::hasTranslatable in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/config_translation/src/ConfigMapperManager.php \Drupal\config_translation\ConfigMapperManager::hasTranslatable()
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 172 - Contains \Drupal\config_translation\ConfigMapperManager.
Class
- ConfigMapperManager
- Manages plugins for configuration translation mappers.
Namespace
Drupal\config_translationCode
public function hasTranslatable($name) {
return $this
->findTranslatable($this->typedConfigManager
->get($name));
}