EntityConfirmFormBase

Provides a generic base class for an entity-based confirmation form. 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 ConfirmFormInterface Related topics Entity API Describes how

EntityLastInstalledSchemaRepository::setLastInstalledFieldStorageDefinition

public EntityLastInstalledSchemaRepository::setLastInstalledFieldStorageDefinition(FieldStorageDefinitionInterface $storage_definition) Stores the field storage definition in the application state. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field storage definition. Overrides EntityLastInstalledSchemaRepositoryInterface::setLastInstalledFieldStorageDefinition File core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php, line 75 Class

UserData::set

public UserData::set($module, $uid, $name, $value) Stores data for a user account. Parameters string $module: The name of the module the data is associated with. int $uid: The user account ID the data is associated with. string $name: The name of the data key. mixed $value: The value to store. Non-scalar values are serialized automatically. Overrides UserDataInterface::set File core/modules/user/src/UserData.php, line 80 Class UserData Defines the user data service. Namespace Drupal\us

EntityFormDisplay::buildForm

public EntityFormDisplay::buildForm(FieldableEntityInterface $entity, array &$form, FormStateInterface $form_state) Adds field widgets to an entity form. The form elements for the entity's fields are added by reference as direct children in the $form parameter. This parameter can be a full form structure (most common case for entity edit forms), or a sub-element of a larger form. By default, submitted field values appear at the top-level of $form_state->getValues(). A different location

LanguageManager

Class responsible for providing language support on language-unaware sites. Hierarchy class \Drupal\Core\Language\LanguageManager implements LanguageManagerInterface uses DependencySerializationTrait File core/lib/Drupal/Core/Language/LanguageManager.php, line 12 Namespace Drupal\Core\Language Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of service IDs keyed by property name used for serialization. Depen

Merge

PostgreSQL implementation of \Drupal\Core\Database\Query\Merge. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Merge implements ConditionInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\pgsql\Merge File core/lib/Drupal/Core/Database/Driver/pgsql/Merge.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Merge::$conditionTable protected prope

twig_render_template

twig_render_template($template_file, array $variables) Implements hook_render_template(). Renders a Twig template. If the Twig debug setting is enabled, HTML comments including the theme hook and template file name suggestions will surround the template markup. Parameters string $template_file: The file name of the template to render. array $variables: A keyed array of variables that will appear in the output. Return value string|\Drupal\Component\Render\MarkupInterface The output generated b

theme_get_suggestions

theme_get_suggestions($args, $base, $delimiter = '__') Generate an array of suggestions from path arguments. This is typically called for adding to the suggestions in hook_theme_suggestions_HOOK_alter() or adding to 'attributes' class key variables from within preprocess functions, when wanting to base the additional suggestions or classes on the path of the current page. Parameters $args: An array of path arguments. $base: A string identifying the base 'thing' from which more specific suggest

EntityFormModeAddForm

Provides the add form for entity display modes. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\field_ui\Form\EntityDisplayModeFormBaseclass \Drupal\field_ui\Form\EntityDisplayModeAddFormclass \Drupal\field_ui\Form\EntityFormMo

ThemeManager::$themeRegistry

The theme registry used to render an output. Type: \Drupal\Core\Theme\Registry File core/lib/Drupal/Core/Theme/ThemeManager.php, line 29 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code protected $themeRegistry;