hook_form_BASE_FORM_ID_alter

hook_form_BASE_FORM_ID_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state, $form_id) Provide a form-specific alteration for shared ('base') forms. Implementations are responsible for adding cache contexts/tags/max-age as needed. See https://www.drupal.org/developing/api/8/cache. By default, when \Drupal::formBuilder()->getForm() is called, Drupal looks for a function with the same name as the form ID, and uses that function to build the form. In contrast, base forms allow mul

Connection::sqlFunctionLikeBinary

public static Connection::sqlFunctionLikeBinary($pattern, $subject) SQLite compatibility implementation for the LIKE BINARY SQL operator. SQLite supports case-sensitive LIKE operations through the 'case_sensitive_like' PRAGMA statement, but only for ASCII characters, so we have to provide our own implementation with UTF-8 support. See also https://sqlite.org/pragma.html#pragma_case_sensitive_like https://sqlite.org/lang_expr.html#like File core/lib/Drupal/Core/Database/Driver/sqlite/Connection

CommentStorageSchema

Defines the comment schema handler. Hierarchy class \Drupal\Core\Entity\Sql\SqlContentEntityStorageSchema implements DynamicallyFieldableEntityStorageSchemaInterface uses DependencySerializationTraitclass \Drupal\comment\CommentStorageSchema File core/modules/comment/src/CommentStorageSchema.php, line 12 Namespace Drupal\comment Members Name Modifiers Type Description CommentStorageSchema::getEntitySchema protected function Gets the entity schema for the specified entit

RoleAccessControlHandler

Defines the access control handler for the user role entity type. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityAccessControlHandler implements EntityAccessControlHandlerInterfaceclass \Drupal\user\RoleAccessControlHandler See also \Drupal\user\Entity\Role File core/modules/user/src/RoleAccessControlHandler.php, line 15 Namespace Drupal\user Members Name Modifiers Type Description

FieldItemListInterface::getEntity

public FieldItemListInterface::getEntity() Gets the entity that field belongs to. Return value \Drupal\Core\Entity\EntityInterface The entity object. File core/lib/Drupal/Core/Field/FieldItemListInterface.php, line 36 Class FieldItemListInterface Interface for fields, being lists of field items. Namespace Drupal\Core\Field Code public function getEntity();

ReindexConfirm

Provides the search reindex confirmation form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\search\Form\ReindexConfirm File core/modules/search/src/Form/ReindexConfirm.php, line 12 Namespace Drupal\search\Form

MenuForm

Base form for menu edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\menu_ui\MenuForm File core/modules/menu_ui/src/MenuForm.php, line 24 Namespace Drupal\menu_ui Members Name Modifiers Type Descript

MENU_MAX_MENU_NAME_LENGTH_UI

Maximum length of menu name as entered by the user. Database length is 32 and we add a menu- prefix. File core/modules/menu_ui/menu_ui.module, line 28 Allows administrators to customize the site's navigation menus. Code const MENU_MAX_MENU_NAME_LENGTH_UI = 27;

SysLog::$config

A configuration object containing syslog settings. Type: \Drupal\Core\Config\Config File core/modules/syslog/src/Logger/SysLog.php, line 21 Class SysLog Redirects logging messages to syslog. Namespace Drupal\syslog\Logger Code protected $config;

Upsert

General class for an abstracted "Upsert" (UPDATE or INSERT) query operation. This class can only be used with a table with a single unique index. Often, this will be the primary key. On such a table this class works like Insert except the rows will be set to the desired values even if the key existed before. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Upsert implements \Countable uses InsertTrait File core/lib/Drupal/Cor