IMAGE_STORAGE_OVERRIDE

Image style constant for user presets that override module-defined presets. Deprecated in Drupal 8.1.x, will be removed before Drupal 9.0.0. File core/modules/image/image.module, line 27 Exposes global functionality for creating image styles. Code const IMAGE_STORAGE_OVERRIDE = 2;

node_access_needs_rebuild

node_access_needs_rebuild($rebuild = NULL) Toggles or reads the value of a flag for rebuilding the node access grants. When the flag is set, a message is displayed to users with 'access administration pages' permission, pointing to the 'rebuild' confirm form. This can be used as an alternative to direct node_access_rebuild calls, allowing administrators to decide when they want to perform the actual (possibly time consuming) rebuild. When unsure if the current user is an administrator, node_acc

options_field_views_data

options_field_views_data(FieldStorageConfigInterface $field) Implements hook_field_views_data(). Views integration for list fields. Have a different filter handler and argument handlers for list fields. This should allow to select values of the list. File core/modules/options/options.views.inc, line 19 Provide Views data for options.module. Code function options_field_views_data(FieldStorageConfigInterface $field) { $data = views_field_default_views_data($field); foreach ($data as $table

Attribute::addClass

public Attribute::addClass() Adds classes or merges them on to array of existing CSS classes. Parameters string|array ...: CSS classes to add to the class attribute array. Return value $this File core/lib/Drupal/Core/Template/Attribute.php, line 170 Class Attribute Collects, sanitizes, and renders HTML attributes. Namespace Drupal\Core\Template Code public function addClass() { $args = func_get_args(); if ($args) { $classes = array(); foreach ($args as $arg) { // Me

FormAjaxException::getForm

public FormAjaxException::getForm() Gets the form definition. Return value array The form structure. File core/lib/Drupal/Core/Form/FormAjaxException.php, line 50 Class FormAjaxException Custom exception to break out of AJAX form processing. Namespace Drupal\Core\Form Code public function getForm() { return $this->form; }

StringBase::$source

The source string. Type: string File core/modules/locale/src/StringBase.php, line 31 Class StringBase Defines the locale string base class. Namespace Drupal\locale Code public $source;

NodeType

Defines the Node type configuration entity. Plugin annotation @ConfigEntityType( id = "node_type", label = @Translation("Content type"), handlers = { "access" = "Drupal\node\NodeTypeAccessControlHandler", "form" = { "add" = "Drupal\node\NodeTypeForm", "edit" = "Drupal\node\NodeTypeForm", "delete" = "Drupal\node\Form\NodeTypeDeleteConfirm" }, "list_builder" = "Drupal\node\NodeTypeListBuilder", }, admin_permission = "administer content types", config_

MenuLinkManagerInterface::resetLink

public MenuLinkManagerInterface::resetLink($id) Resets the values for a menu link based on the values found by discovery. Parameters string $id: The menu link plugin ID. Return value \Drupal\Core\Menu\MenuLinkInterface The menu link instance after being reset. Throws \Drupal\Component\Plugin\Exception\PluginException Thrown if the $id is not a valid, existing, plugin ID or if the link cannot be reset. File core/lib/Drupal/Core/Menu/MenuLinkManagerInterface.php, line 134 Class MenuLinkMan

PathBasedBreadcrumbBuilder::$router

The dynamic router service. Type: \Symfony\Component\Routing\Matcher\RequestMatcherInterface File core/modules/system/src/PathBasedBreadcrumbBuilder.php, line 52 Class PathBasedBreadcrumbBuilder Class to define the menu_link breadcrumb builder. Namespace Drupal\system Code protected $router;

AccountProxy::loadUserEntity

protected AccountProxy::loadUserEntity($account_id) Load a user entity. The entity manager requires additional initialization code and cache clearing after the list of modules is changed. Therefore it is necessary to retrieve it as late as possible. Because of serialization issues it is currently not possible to inject the container into the AccountProxy. Thus it is necessary to retrieve the entity manager statically. Parameters int $account_id: The id of an account to load. Return value \Dru