config_translation_entity_type_alter

config_translation_entity_type_alter(array &$entity_types) Implements hook_entity_type_alter(). File core/modules/config_translation/config_translation.module, line 75 Configuration Translation module. Code function config_translation_entity_type_alter(array &$entity_types) { /** @var $entity_types \Drupal\Core\Entity\EntityTypeInterface[] */ foreach ($entity_types as $entity_type_id => $entity_type) { if ($entity_type->isSubclassOf('Drupal\Core\Config\Entity\ConfigEntit

config_translation_entity_operation

config_translation_entity_operation(EntityInterface $entity) Implements hook_entity_operation(). File core/modules/config_translation/config_translation.module, line 154 Configuration Translation module. Code function config_translation_entity_operation(EntityInterface $entity) { $operations = array(); $entity_type = $entity->getEntityType(); if ($entity_type->isSubclassOf('Drupal\Core\Config\Entity\ConfigEntityInterface') && $entity->hasLinkTemplate('config-transl

config_translation_config_translation_info

config_translation_config_translation_info(&$info) Implements hook_config_translation_info(). File core/modules/config_translation/config_translation.module, line 102 Configuration Translation module. Code function config_translation_config_translation_info(&$info) { $entity_manager = \Drupal::entityManager(); // If field UI is not enabled, the base routes of the type // "entity.field_config.{$entity_type}_field_edit_form" are not defined. if (\Drupal::moduleHandler()->mod

config_translation_config_schema_info_alter

config_translation_config_schema_info_alter(&$definitions) Implements hook_config_schema_info_alter(). File core/modules/config_translation/config_translation.module, line 179 Configuration Translation module. Code function config_translation_config_schema_info_alter(&$definitions) { $map = array( 'label' => '\Drupal\config_translation\FormElement\Textfield', 'text' => '\Drupal\config_translation\FormElement\Textarea', 'date_format' => '\Drupal\config_translatio

config_translation.module

Configuration Translation module. File core/modules/config_translation/config_translation.module Functions Name Description config_translation_config_schema_info_alter Implements hook_config_schema_info_alter(). config_translation_config_translation_info Implements hook_config_translation_info(). config_translation_entity_operation Implements hook_entity_operation(). config_translation_entity_type_alter Implements hook_entity_type_alter(). config_translation_help Imple

CONFIG_SYNC_DIRECTORY

$config_directories key for sync directory. See also config_get_config_directory() File core/includes/bootstrap.inc, line 112 Functions that need to be loaded on every Drupal request. Code const CONFIG_SYNC_DIRECTORY = 'sync';

CONFIG_STAGING_DIRECTORY

$config_directories key for staging directory. Deprecated in Drupal 8.0.x and will be removed before 9.0.0. The staging directory was renamed to sync. See also config_get_config_directory() CONFIG_SYNC_DIRECTORY File core/includes/bootstrap.inc, line 123 Functions that need to be loaded on every Drupal request. Code const CONFIG_STAGING_DIRECTORY = 'staging';

config_requirements

config_requirements($phase) Implements hook_requirements(). File core/modules/config/config.install, line 11 Install, update and uninstall functions for the config module. Code function config_requirements($phase) { $requirements = []; try { $directory = config_get_config_directory(CONFIG_SYNC_DIRECTORY); } catch (\Exception $e) { // system_requirements() guarantees that the CONFIG_SYNC_DIRECTORY exists // as the config.storage.staging service relies on it. $director

config_help

config_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/config/config.module, line 13 Allows site administrators to modify configuration. Code function config_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.config': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Configuration Manager module provides a user interface for importin

config_get_config_directory

config_get_config_directory($type) Returns the path of a configuration directory. Configuration directories are configured using $config_directories in settings.php. Parameters string $type: The type of config directory to return. Drupal core provides the CONFIG_SYNC_DIRECTORY constant to access the sync directory. Return value string The configuration directory path. Throws \Exception File core/includes/bootstrap.inc, line 147 Functions that need to be loaded on every Drupal request. Code