EntityViewDisplayEditForm::buildExtraFieldRow

protected EntityViewDisplayEditForm::buildExtraFieldRow($field_id, $extra_field) Builds the table row structure for a single extra field. Parameters string $field_id: The field ID. array $extra_field: The pseudo-field element. Return value array A table row array. Overrides EntityDisplayFormBase::buildExtraFieldRow File core/modules/field_ui/src/Form/EntityViewDisplayEditForm.php, line 68 Class EntityViewDisplayEditForm Edit form for the EntityViewDisplay entity type. Namespace Drupal

ArchiverManager::getInstance

public ArchiverManager::getInstance(array $options) Gets a preconfigured instance of a plugin. Parameters array $options: An array of options that can be used to determine a suitable plugin to instantiate and how to configure it. Return value object|false A fully configured plugin instance. The interface of the plugin instance will depends on the plugin type. If no instance can be retrieved, FALSE will be returned. Overrides PluginManagerBase::getInstance File core/lib/Drupal/Core/Archiver/Ar

FormCache::getCache

public FormCache::getCache($form_build_id, FormStateInterface $form_state) Fetches a form from the cache. Parameters string $form_build_id: The unique form build ID. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormCacheInterface::getCache File core/lib/Drupal/Core/Form/FormCache.php, line 119 Class FormCache Encapsulates the caching of a form and its form state. Namespace Drupal\Core\Form Code public function getCache($form_build_id, Form

RoleListBuilder::getDefaultOperations

public RoleListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/user/src/RoleListBuilder.php, line 42 Class RoleListBuilder Defines a class to build a listing of user role entities. Na

FileSystemForm::submitForm

public FileSystemForm::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 ConfigFormBase::submitForm File core/modules/system/src/Form/FileSystemForm.php, line 140 Class FileSystemForm Configure file system settings for this site. Namespace Drupal\system\Form Code public function

Tar::add

public Tar::add($file_path) Adds the specified file or directory to the archive. Parameters string $file_path: The full system path of the file or directory to add. Only local files and directories are supported. Return value \Drupal\Core\Archiver\ArchiverInterface The called object. Overrides ArchiverInterface::add File core/lib/Drupal/Core/Archiver/Tar.php, line 34 Class Tar Defines a archiver implementation for .tar files. Namespace Drupal\Core\Archiver Code public function add($f

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'])) {

EntityFormDisplayEditForm::thirdPartySettingsForm

protected EntityFormDisplayEditForm::thirdPartySettingsForm(PluginSettingsInterface $plugin, FieldDefinitionInterface $field_definition, array $form, FormStateInterface $form_state) Adds the widget or formatter third party settings forms. Parameters \Drupal\Core\Field\PluginSettingsInterface $plugin: The widget or formatter. \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. array $form: The (entire) configuration form array. \Drupal\Core\Form\FormStateInterfa

EntityModerationForm::__construct

public EntityModerationForm::__construct(ModerationInformationInterface $moderation_info, StateTransitionValidation $validation, EntityTypeManagerInterface $entity_type_manager) EntityModerationForm constructor. Parameters \Drupal\content_moderation\ModerationInformationInterface $moderation_info: The moderation information service. \Drupal\content_moderation\StateTransitionValidation $validation: The moderation state transition validation service. \Drupal\Core\Entity\EntityTypeManagerInterfac

EntityModerationForm::buildForm

public EntityModerationForm::buildForm(array $form, FormStateInterface $form_state, ContentEntityInterface $entity = NULL) 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/content_moderation/src/Form/EntityModerationForm.php, line 77 Class EntityModerationForm The En