MenuLinkManager::$factory

The object that instantiates plugins managed by this manager. Type: \Drupal\Component\Plugin\Factory\FactoryInterface File core/lib/Drupal/Core/Menu/MenuLinkManager.php, line 74 Class MenuLinkManager Manages discovery, instantiation, and tree building of menu link plugins. Namespace Drupal\Core\Menu Code protected $factory;

_menu_link_content_update_path_alias

_menu_link_content_update_path_alias($path) Helper function to update plugin definition using internal scheme. Parameters string $path: The path alias. File core/modules/menu_link_content/menu_link_content.module, line 53 Allows administrators to create custom menu links. Code function _menu_link_content_update_path_alias($path) { /** @var \Drupal\Core\Menu\MenuLinkManagerInterface $menu_link_manager */ $menu_link_manager = \Drupal::service('plugin.manager.menu.link'); /** @var \Drupal

EditEntityFieldAccessCheck

Access check for editing entity fields. Hierarchy class \Drupal\quickedit\Access\EditEntityFieldAccessCheck implements AccessInterface, EditEntityFieldAccessCheckInterface File core/modules/quickedit/src/Access/EditEntityFieldAccessCheck.php, line 13 Namespace Drupal\quickedit\Access Members Name Modifiers Type Description EditEntityFieldAccessCheck::access public function Checks Quick Edit access to the field. EditEntityFieldAccessCheck::accessEditEntityField public

FieldItemBase::storageSettingsFromConfigData

public static FieldItemBase::storageSettingsFromConfigData(array $settings) Returns a settings array in the field type's canonical representation. This function does the inverse of static::storageSettingsToConfigData(). It's called when loading a field's settings from a configuration object. Parameters array $settings: The field's settings, as it is stored within a configuration object. Return value array The settings, in the representation expected by the field type and code that interacts w

menu_link_content_help

menu_link_content_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/menu_link_content/menu_link_content.module, line 14 Allows administrators to create custom menu links. Code function menu_link_content_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.menu_link_content': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Custom Menu L

ViewListBuilder::getDefaultOperations

public ViewListBuilder::getDefaultOperations(EntityInterface $entity) Gets this list's default operations. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array The array structure is identical to the return value of self::getOperations(). Overrides ConfigEntityListBuilder::getDefaultOperations File core/modules/views_ui/src/ViewListBuilder.php, line 154 Class ViewListBuilder Defines a class to build a listing of view entities. Na

region.html.twig

Default theme implementation to display a region. Available variables: content: The content for this region, typically blocks. attributes: HTML attributes for the region <div>. region: The name of the region variable as defined in the theme's .info.yml file. See also template_preprocess_region() File core/modules/system/templates/region.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

KeyValueDatabaseExpirableFactory::get

public KeyValueDatabaseExpirableFactory::get($collection) Constructs a new expirable key/value store for a given collection name. Parameters string $collection: The name of the collection holding key and value pairs. Return value \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface An expirable key/value store implementation for the given $collection. Overrides KeyValueExpirableFactoryInterface::get File core/lib/Drupal/Core/KeyValueStore/KeyValueDatabaseExpirableFactory.php, line 50

SessionManagerInterface::delete

public SessionManagerInterface::delete($uid) Ends a specific user's session(s). Parameters int $uid: User ID. File core/lib/Drupal/Core/Session/SessionManagerInterface.php, line 18 Class SessionManagerInterface Defines the session manager interface. Namespace Drupal\Core\Session Code public function delete($uid);

user.views_execution.inc

Provide views runtime hooks for user.module. File core/modules/user/user.views_execution.inc Functions Name Description user_views_query_substitutions Implements hook_views_query_substitutions().