hook_form_FORM_ID_alter

hook_form_FORM_ID_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) Provide a form-specific alteration instead of the global hook_form_alter(). Implementations are responsible for adding cache contexts/tags/max-age as needed. See https://www.drupal.org/developing/api/8/cache. Modules can implement hook_form_FORM_ID_alter() to modify a specific form, rather than implementing hook_form_alter() and checking the form ID, or using long switch statements to alter multiple

CommentAdminOverview

Provides the comments overview administration form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\comment\Form\CommentAdminOverview File core/modules/comment/src/Form/CommentAdminOverview.php, line 18 Namespace Drupal\comment\Form Members Name Modifiers Type Description Co

UserPermissionsForm::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/user/src/Form/UserPermissionsForm.php, line 36 Class UserPermissionsForm Provides the user permissions administration form. Namespace Drupal\user\Form Code protected $moduleHandler;

TypeLinkManager::$bundleInfoService

The bundle info service. Type: \Drupal\Core\Entity\EntityTypeBundleInfoInterface File core/modules/rest/src/LinkManager/TypeLinkManager.php, line 33 Class TypeLinkManager Namespace Drupal\rest\LinkManager Code protected $bundleInfoService;

ViewsFormBase::submitForm

public ViewsFormBase::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/views_ui/src/Form/Ajax/ViewsFormBase.php, line 275 Class ViewsFormBase Provides a base class for Views UI AJAX forms. Namespace Drupal\views_ui\Form\Ajax Code publ

ExtensionMimeTypeGuesser::$defaultMapping

Default MIME extension mapping. Array of mimetypes correlated to the extensions that relate to them. Type: array File core/lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php, line 19 Class ExtensionMimeTypeGuesser Makes possible to guess the MIME type of a file using its extension. Namespace Drupal\Core\File\MimeType Code protected $defaultMapping = array( 'mimetypes' => array( 0 => 'application/andrew-inset', 1 => 'application/atom', 2 => 'application

ConfigEntityStorage

Defines the storage class for configuration entities. Configuration object names of configuration entities are comprised of two parts, separated by a dot: config_prefix: A string denoting the owner (module/extension) of the configuration object, followed by arbitrary other namespace identifiers that are declared by the owning extension; e.g., 'node.type'. The config_prefix does NOT contain a trailing dot. It is defined by the entity type's annotation. ID: A string denoting the entity ID withi

BasicSettingsForm::buildForm

public BasicSettingsForm::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 ConfigFormBase::buildForm File core/modules/views_ui/src/Form/BasicSettingsForm.php, line 64 Class BasicSettingsForm Form builder for the admin display defaults page. Namespace

TermDeleteForm

Provides a deletion confirmation form for taxonomy term. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityConfirmFormBase

ConfigSingleImportForm

Provides a form for importing a single configuration file. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\config\Form\ConfigSingleImportForm File core/modules/config/src/Form/ConfigSingleImportForm.php, line 29 Nam