template_preprocess_menu_local_action

template_preprocess_menu_local_action(&$variables) Prepares variables for single local action link templates. Default template: menu-local-action.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. Related topics Menu system Define the navigation menus, local actions and tasks, and contextual links. File core/includes/menu.inc, line 65 A

ParamConverterManagerInterface::convert

public ParamConverterManagerInterface::convert(array $defaults) Invokes the registered converter for each defined parameter on a route. Parameters array $defaults: The route defaults array. Return value array The modified defaults. Throws \Drupal\Core\ParamConverter\ParamNotConvertedException If one of the assigned converters returned NULL because the given variable could not be converted. File core/lib/Drupal/Core/ParamConverter/ParamConverterManagerInterface.php, line 59 Class ParamCon

ERROR_REPORTING_DISPLAY_SOME

Error reporting level: display errors and warnings. File core/includes/bootstrap.inc, line 43 Functions that need to be loaded on every Drupal request. Code const ERROR_REPORTING_DISPLAY_SOME = 'some';

Tasks::name

abstract public Tasks::name() Return the human-readable name of the driver. File core/lib/Drupal/Core/Database/Install/Tasks.php, line 113 Class Tasks Database installer structure. Namespace Drupal\Core\Database\Install Code abstract public function name();

PluralFormulaInterface::reset

public PluralFormulaInterface::reset() Resets the static formulae cache. Return value self The PluralFormula object. File core/modules/locale/src/PluralFormulaInterface.php, line 52 Class PluralFormulaInterface An interface for a service providing plural formulae. Namespace Drupal\locale Code public function reset();

FilteredMarkup

Defines an object that passes markup through the Filter system. This object should only be constructed with markup that is safe to render. If there is any risk that the string contains user-entered data that has not been filtered first, it must not be used. @internal This object is marked as internal because it should only be used in the Filter module on strings that have already been been filtered and sanitized in \Drupal\filter\Plugin\FilterInterface. Hierarchy class \Drupal\filter\Render\Fil

EntityViewDisplay::collectRenderDisplays

public static EntityViewDisplay::collectRenderDisplays($entities, $view_mode) Returns the display objects used to render a set of entities. Depending on the configuration of the view mode for each bundle, this can be either the display object associated with the view mode, or the 'default' display. This method should only be used internally when rendering an entity. When assigning suggested display options for a component in a given view mode, entity_get_display() should be used instead, in ord

NegotiationBrowserForm::language_get_browser_drupal_langcode_mappings

protected NegotiationBrowserForm::language_get_browser_drupal_langcode_mappings() Retrieves the browser's langcode mapping configuration array. Return value array The browser's langcode mapping configuration array. File core/modules/language/src/Form/NegotiationBrowserForm.php, line 207 Class NegotiationBrowserForm Configure the browser language negotiation method for this site. Namespace Drupal\language\Form Code protected function language_get_browser_drupal_langcode_mappings() {

AccessResult

Value object for passing an access result with cacheability metadata. The access result itself — excluding the cacheability metadata — is immutable. There are subclasses for each of the three possible access results themselves: When using ::orIf() and ::andIf(), cacheability metadata will be merged accordingly as well. Hierarchy class \Drupal\Core\Access\AccessResult implements AccessResultInterface, RefinableCacheableDependencyInterface uses RefinableCacheableDependencyTrait See also \Drup

StorageReplaceDataWrapper::rename

public StorageReplaceDataWrapper::rename($name, $new_name) Renames a configuration object in the storage. Parameters string $name: The name of a configuration object to rename. string $new_name: The new name of a configuration object. Return value bool TRUE on success, FALSE otherwise. Overrides StorageInterface::rename File core/modules/config/src/StorageReplaceDataWrapper.php, line 103 Class StorageReplaceDataWrapper Wraps a configuration storage to allow replacing specific configurati