LocalTaskDefault::getOptions

public LocalTaskDefault::getOptions(RouteMatchInterface $route_match) Returns options for rendering a link to the local task. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value array An associative array of options. Overrides LocalTaskInterface::getOptions File core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 105 Class LocalTaskDefault Default object used for LocalTaskPlugins. Namespace Drupal\Core\Menu Code public function get

UserSession::$mail

The email address of this account. Type: string File core/lib/Drupal/Core/Session/UserSession.php, line 61 Class UserSession An implementation of the user account interface for the global user. Namespace Drupal\Core\Session Code protected $mail;

RouteProvider::getRouteCollectionForRequest

public RouteProvider::getRouteCollectionForRequest(Request $request) Finds routes that may potentially match the request. This may return a mixed list of class instances, but all routes returned must extend the core symfony route. The classes may also implement RouteObjectInterface to link to a content document. This method may not throw an exception based on implementation specific restrictions on the url. That case is considered a not found - returning an empty array. Exceptions are only used

EntityFieldManager::buildBundleFieldDefinitions

protected EntityFieldManager::buildBundleFieldDefinitions($entity_type_id, $bundle, array $base_field_definitions) Builds field definitions for a specific bundle within an entity type. Parameters string $entity_type_id: The entity type ID. Only entity types that implement \Drupal\Core\Entity\FieldableEntityInterface are supported. string $bundle: The bundle. \Drupal\Core\Field\FieldDefinitionInterface[] $base_field_definitions: The list of base field definitions. Return value \Drupal\Core\Fie

ModerationStateListBuilder

Provides a listing of Moderation state entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\Core\Config\Entity\DraggableListBuilder implements FormInterfaceclass \Drupal\content_moderation\ModerationStateListBuilder File core/modules/content_moderat

search_simplify

search_simplify($text, $langcode = NULL) Simplifies and preprocesses text for searching. Processing steps: Entities are decoded. Text is lower-cased and diacritics (accents) are removed. hook_search_preprocess() is invoked. CJK (Chinese, Japanese, Korean) characters are processed, depending on the search settings. Punctuation is processed (removed or replaced with spaces, depending on where it is; see code for details). Words are truncated to 50 characters maximum. Parameters string $text:

SAVED_DELETED

Return status for saving which deleted an existing item. File core/includes/common.inc, line 69 Common functions that many Drupal modules will need to reference. Code const SAVED_DELETED = 3;

EntityRevisionConverter::applies

public EntityRevisionConverter::applies($definition, $name, Route $route) Determines if the converter applies to a specific route and variable. Parameters mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value bool TRUE if the converter applies to the passed route and parameter, FALSE otherwise. Overrides EntityConverter::applies File core/modu

EntityRevisionRouteEnhancer::enhance

public EntityRevisionRouteEnhancer::enhance(array $defaults, Request $request) Update the defaults based on its own data and the request. Parameters array $defaults the getRouteDefaults array.: Request $request the Request instance.: Return value array the modified defaults. Each enhancer MUST return the $defaults but may add or remove values. Overrides RouteEnhancerInterface::enhance File core/lib/Drupal/Core/Routing/Enhancer/EntityRevisionRouteEnhancer.php, line 31 Class EntityRevisionR

LanguageNegotiationMethodManager

Manages language negotiation methods. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\language\LanguageNegotiationMethodManager File core/modules/language/src/LanguageNegotiationMethodManager.php, line 12 Namespace Drupal\langua