User accounts, permissions, and roles

API for user accounts, access checking, roles, and permissions. Overview and terminology Drupal's permission system is based on the concepts of accounts, roles, and permissions. Users (site visitors) have accounts, which include a user name, an email address, a password (or some other means of authentication), and possibly other fields (if defined on the site). Anonymous users have an implicit account that does not have a real user name or any account information. Each user account is assigned

EntityAutocomplete

Provides an entity autocomplete form element. The #default_value accepted by this element is either an entity object or an array of entity objects. Plugin annotation @FormElement("entity_autocomplete") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInterfaceclass \D

QuickEditFieldForm

Builds and process a form for editing a single entity field. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\quickedit\Form\QuickEditFieldForm File core/modules/quickedit/src/Form/QuickEditFieldForm.php, line 20 Namespace Drupal\quickedit\Form Members Name Modifiers Type Descr

DatabaseStorage

Defines the Database storage. Hierarchy class \Drupal\Core\Config\DatabaseStorage implements StorageInterface uses DependencySerializationTrait File core/lib/Drupal/Core/Config/DatabaseStorage.php, line 13 Namespace Drupal\Core\Config Members Name Modifiers Type Description DatabaseStorage::$collection protected property The storage collection. DatabaseStorage::$connection protected property The database connection. DatabaseStorage::$options protected prope

update_do_one

update_do_one($module, $number, $dependency_map, &$context) Implements callback_batch_operation(). Performs one update and stores the results for display on the results page. If an update function completes successfully, it should return a message as a string indicating success, for example: return t('New index added successfully.'); Alternatively, it may return nothing. In that case, no message will be displayed at all. If it fails for whatever reason, it should throw an instance of Drup

BlockContentTypeDeleteForm

Provides a confirmation form for deleting a custom block type entity. 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\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\Core\Entity\EntityDeleteForm u

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