ChainedFastBackend::$fastBackend

The fast cache backend. Type: \Drupal\Core\Cache\CacheBackendInterface File core/lib/Drupal/Core/Cache/ChainedFastBackend.php, line 72 Class ChainedFastBackend Defines a backend with a fast and a consistent backend chain. Namespace Drupal\Core\Cache Code protected $fastBackend;

Entity::link

public Entity::link($text = NULL, $rel = 'canonical', array $options = []) Deprecated way of generating a link to the entity. See toLink(). Parameters string|null $text: (optional) The link text for the anchor tag as a translated string. If NULL, it will use the entity's label. Defaults to NULL. string $rel: (optional) The link relationship type. Defaults to 'canonical'. array $options: See \Drupal\Core\Routing\UrlGeneratorInterface::generateFromRoute() for the available options. Return value

_drupal_error_handler_real

_drupal_error_handler_real($error_level, $message, $filename, $line, $context) Provides custom PHP error handling. Parameters $error_level: The level of the error raised. $message: The error message. $filename: The filename that the error was raised in. $line: The line number the error was raised at. $context: An array that points to the active symbol table at the point the error occurred. File core/includes/errors.inc, line 60 Functions for error handling. Code function _drupal_error_handle

MachineName::getInfo

public MachineName::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides Textfield::getInfo File core/lib/Drupal/Core/Render/Element/MachineName.php, line 76 Class MachineName Provides a machine name render element. Namespace Drupal\Core\Render\Element Code public fun

AttachmentsInterface

Defines an interface for responses that can expose #attached metadata. @todo If in Drupal 9, we remove attachments other than assets (libraries + drupalSettings), then we can look into unifying this with \Drupal\Core\Asset\AttachedAssetsInterface. Hierarchy interface \Drupal\Core\Render\AttachmentsInterface See also \Drupal\Core\Render\AttachmentsTrait File core/lib/Drupal/Core/Render/AttachmentsInterface.php, line 14 Namespace Drupal\Core\Render Members Name Modifiers Type Des

AccessManager::__construct

public AccessManager::__construct(RouteProviderInterface $route_provider, ParamConverterManagerInterface $paramconverter_manager, AccessArgumentsResolverFactoryInterface $arguments_resolver_factory, AccountInterface $current_user, CheckProviderInterface $check_provider) Constructs a AccessManager instance. Parameters \Drupal\Core\Routing\RouteProviderInterface $route_provider: The route provider. \Drupal\Core\ParamConverter\ParamConverterManagerInterface $paramconverter_manager: The param conv

_field_multiple_value_form_sort_helper

_field_multiple_value_form_sort_helper($a, $b) Callback for usort() within template_preprocess_field_multiple_value_form(). Sorts using ['_weight']['#value'] File core/includes/theme.inc, line 1706 The theme system, which controls the output of Drupal. Code function _field_multiple_value_form_sort_helper($a, $b) { $a_weight = (is_array($a) && isset($a['_weight']['#value']) ? $a['_weight']['#value'] : 0); $b_weight = (is_array($b) && isset($b['_weight']['#value']) ? $b['_we

config_translation_manage_form_element.html.twig

Default theme implementation for a form element in config_translation. Available variables: element: Array that represents the element shown in the form. source: The source of the translation. translation: The translation for the target language. See also template_preprocess() File core/modules/config_translation/templates/config_translation_manage_form_element.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

MenuLinkBase::getDeleteRoute

public MenuLinkBase::getDeleteRoute() Returns route information for a route to delete the menu link. Return value \Drupal\Core\Url|null A Url object, or NULL if there is no route (e.g. when the link is not deletable). Overrides MenuLinkInterface::getDeleteRoute File core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 145 Class MenuLinkBase Defines a base menu link class. Namespace Drupal\Core\Menu Code public function getDeleteRoute() { return NULL; }

MenuListBuilder::render

public MenuListBuilder::render() Builds the entity listing as renderable array for table.html.twig. @todo Add a link to add a new item to the #empty text. Overrides EntityListBuilder::render File core/modules/menu_ui/src/MenuListBuilder.php, line 63 Class MenuListBuilder Defines a class to build a listing of menu entities. Namespace Drupal\menu_ui Code public function render() { $build = parent::render(); $build['#attached']['library'][] = "menu_ui/drupal.menu_ui.adminforms"; re