ConfigTranslationAddForm::buildForm

public ConfigTranslationAddForm::buildForm(array $form, FormStateInterface $form_state, RouteMatchInterface $route_match = NULL, $plugin_id = NULL, $langcode = NULL) Implements \Drupal\Core\Form\FormInterface::buildForm(). Builds configuration form with metadata and values from the source language. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\Core\Routing\RouteMatchInt

ConfigTranslationAddForm

Defines a form for adding configuration translations. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\config_translation\Form\ConfigTranslationFormBase implements BaseFormIdInterfaceclass \Drupal\config_translation\Form\ConfigTranslationAddForm File core/modules/config_translation/src/For

ConfigSync::__construct

public ConfigSync::__construct(StorageInterface $sync_storage, StorageInterface $active_storage, StorageInterface $snapshot_storage, LockBackendInterface $lock, EventDispatcherInterface $event_dispatcher, ConfigManagerInterface $config_manager, TypedConfigManagerInterface $typed_config, ModuleHandlerInterface $module_handler, ModuleInstallerInterface $module_installer, ThemeHandlerInterface $theme_handler, RendererInterface $renderer) Constructs the object. Parameters \Drupal\Core\Config\Stora

ConfigSync::submitForm

public ConfigSync::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/config/src/Form/ConfigSync.php, line 318 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code pub

ConfigSync::processBatch

public static ConfigSync::processBatch(ConfigImporter $config_importer, $sync_step, &$context) Processes the config import batch and persists the importer. Parameters \Drupal\Core\Config\ConfigImporter $config_importer: The batch config importer object to persist. string $sync_step: The synchronization step to do. array $context: The batch context. File core/modules/config/src/Form/ConfigSync.php, line 371 Class ConfigSync Construct the storage changes in a configuration synchronizati

ConfigSync::getFormId

public ConfigSync::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/config/src/Form/ConfigSync.php, line 166 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code public function getFormId() { return 'config_admin_import_form'; }

ConfigSync::finishBatch

public static ConfigSync::finishBatch($success, $results, $operations) Finish batch. This function is a static function to avoid serializing the ConfigSync object unnecessarily. File core/modules/config/src/Form/ConfigSync.php, line 392 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code public static function finishBatch($success, $results, $operations) { if ($success) { if (!empty($results['errors'])) {

ConfigSync::create

public static ConfigSync::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service conta

ConfigSync::buildForm

public ConfigSync::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/config/src/Form/ConfigSync.php, line 173 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Dr

ConfigSync::$typedConfigManager

The typed config manager. Type: \Drupal\Core\Config\TypedConfigManagerInterface File core/modules/config/src/Form/ConfigSync.php, line 74 Class ConfigSync Construct the storage changes in a configuration synchronization form. Namespace Drupal\config\Form Code protected $typedConfigManager;