Tables::isFieldCaseSensitive

public Tables::isFieldCaseSensitive($field_name) Determines whether the given field is case sensitive. This information can only be provided after it was added with addField(). Parameters string $field_name: The name of the field. Return value bool|null TRUE if the field is case sensitive, FALSE if not. Returns NULL when the field did not define if it is case sensitive or not. Overrides TablesInterface::isFieldCaseSensitive File core/lib/Drupal/Core/Entity/Query/Sql/Tables.php, line 280 Cl

AjaxResponseAttachmentsProcessor::$jsCollectionRenderer

The JS asset collection renderer service. Type: \Drupal\Core\Asset\AssetCollectionRendererInterface File core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php, line 50 Class AjaxResponseAttachmentsProcessor Processes attachments of AJAX responses. Namespace Drupal\Core\Ajax Code protected $jsCollectionRenderer;

template_preprocess_menu_local_task

template_preprocess_menu_local_task(&$variables) Prepares variables for single local task link templates. Default template: menu-local-task.html.twig. Parameters array $variables: An associative array containing: element: A render element containing: #link: A menu link array with 'title', 'url', and (optionally) 'localized_options' keys. #active: A boolean indicating whether the local task is active. Related topics Menu system Define the navigation menus, local actions and tasks, and

menu--toolbar.html.twig

Default theme implementation to display a toolbar menu. Available variables: menu_name: The machine name of the menu. items: A nested list of menu items. Each menu item contains: attributes: HTML attributes for the menu item. below: The menu item child items. title: The menu link title. url: The menu link url, instance of \Drupal\Core\Url localized_options: Menu link localized options. is_expanded: TRUE if the link has visible children within the current menu tree. is_collapsed: TRUE

RouteProcessorCsrf::__construct

RouteProcessorCsrf::__construct(CsrfTokenGenerator $csrf_token) Constructs a RouteProcessorCsrf object. Parameters \Drupal\Core\Access\CsrfTokenGenerator $csrf_token: The CSRF token generator. File core/lib/Drupal/Core/Access/RouteProcessorCsrf.php, line 27 Class RouteProcessorCsrf Processes the outbound route to handle the CSRF token. Namespace Drupal\Core\Access Code function __construct(CsrfTokenGenerator $csrf_token) { $this->csrfToken = $csrf_token; }

NODE_NOT_STICKY

Denotes that the node is not sticky at the top of the page. File core/modules/node/node.module, line 55 The core module that allows content to be submitted to the site. Code const NODE_NOT_STICKY = 0;

EntityViewBuilder::buildComponents

public EntityViewBuilder::buildComponents(array &$build, array $entities, array $displays, $view_mode) Builds the component fields and properties of a set of entities. Parameters &$build: The renderable array representing the entity content. \Drupal\Core\Entity\EntityInterface[] $entities: The entities whose content is being built. \Drupal\Core\Entity\Display\EntityViewDisplayInterface[] $displays: The array of entity view displays holding the display options configured for the entity

AccessResult::inheritCacheability

public AccessResult::inheritCacheability(AccessResultInterface $other) Inherits the cacheability of the other access result, if any. inheritCacheability() differs from addCacheableDependency() in how it handles max-age, because it is designed to inherit the cacheability of the second operand in the andIf() and orIf() operations. There, the situation "allowed, max-age=0 OR allowed, max-age=1000" needs to yield max-age 1000 as the end result. Parameters \Drupal\Core\Access\AccessResultInterface

SelectExtender::extend

public SelectExtender::extend($extender_name) Enhance this object by wrapping it in an extender object. Parameters $extender_name: The fully-qualified name of the extender class, without the leading '\' (for example, Drupal\my_module\myExtenderClass). The extender name will be checked against the current database connection to allow driver-specific subclasses as well, using the same logic as the query objects themselves. Return value \Drupal\Core\Database\Query\ExtendableInterface The extende

QuickEditFieldForm::buildForm

public QuickEditFieldForm::buildForm(array $form, FormStateInterface $form_state, EntityInterface $entity = NULL, $field_name = NULL) Builds a form for a single entity field. Overrides FormInterface::buildForm File core/modules/quickedit/src/Form/QuickEditFieldForm.php, line 93 Class QuickEditFieldForm Builds and process a form for editing a single entity field. Namespace Drupal\quickedit\Form Code public function buildForm(array $form, FormStateInterface $form_state, EntityInterface