ConfigNamesMapper::$baseRoute

The base route object that the mapper is attached to. File core/modules/config_translation/src/ConfigNamesMapper.php, line 66 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code protected $baseRoute;

Node::setSticky

public Node::setSticky($sticky) Sets the node sticky status. Parameters bool $sticky: TRUE to set this node to sticky, FALSE to set it to not sticky. Return value \Drupal\node\NodeInterface The called node entity. Overrides NodeInterface::setSticky File core/modules/node/src/Entity/Node.php, line 241 Class Node Defines the node entity class. Namespace Drupal\node\Entity Code public function setSticky($sticky) { $this->set('sticky', $sticky ? NODE_STICKY : NODE_NOT_STICKY); ret

toolbar_menu_navigation_links

toolbar_menu_navigation_links(array $tree) Adds toolbar-specific attributes to the menu link tree. Parameters \Drupal\Core\Menu\MenuLinkTreeElement[] $tree: The menu link tree to manipulate. Return value \Drupal\Core\Menu\MenuLinkTreeElement[] The manipulated menu link tree. File core/modules/toolbar/toolbar.module, line 250 Administration toolbar for quick access to top level administration items. Code function toolbar_menu_navigation_links(array $tree) { foreach ($tree as $element) {

InsertCommand::render

public InsertCommand::render() Implements Drupal\Core\Ajax\CommandInterface:render(). Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/InsertCommand.php, line 67 Class InsertCommand Generic AJAX command for inserting content. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => 'insert', 'method' => NULL, 'selector' => $this->selector, 'data' => $this->getRenderedContent(), 'settings' => $this

_tracker_myrecent_access

_tracker_myrecent_access(AccountInterface $account) Access callback: Determines access permission for a user's own account. Parameters \Drupal\Core\Session\AccountInterface $account: The user account to track. Return value bool TRUE if a user is accessing tracking info for their own account and has permission to access the content. See also tracker_menu() File core/modules/tracker/tracker.module, line 147 Tracks recent content posted by a user or users. Code function _tracker_myrecent_acce

SearchPage::getPath

public SearchPage::getPath() Returns the path for the search. Return value string The part of the path for this search page that comes after 'search'. Overrides SearchPageInterface::getPath File core/modules/search/src/Entity/SearchPage.php, line 160 Class SearchPage Defines a configured search page. Namespace Drupal\search\Entity Code public function getPath() { return $this->path; }

_tracker_remove

_tracker_remove($nid, $uid = NULL, $changed = NULL) Cleans up indexed data when nodes or comments are removed. Parameters int $nid: The node ID. int $uid: The author of the node or comment. int $changed: The last changed timestamp of the node. File core/modules/tracker/tracker.module, line 313 Tracks recent content posted by a user or users. Code function _tracker_remove($nid, $uid = NULL, $changed = NULL) { $node = Node::load($nid); // The user only keeps their subscription if the node

SystemConfigSubscriber::__construct

public SystemConfigSubscriber::__construct(RouteBuilderInterface $router_builder) Constructs the SystemConfigSubscriber. Parameters \Drupal\Core\Routing\RouteBuilderInterface $route_builder: The router builder service. File core/modules/system/src/SystemConfigSubscriber.php, line 31 Class SystemConfigSubscriber System Config subscriber. Namespace Drupal\system Code public function __construct(RouteBuilderInterface $router_builder) { $this->routerBuilder = $router_builder; }

FormStateDecoratorBase::setAlwaysProcess

public FormStateDecoratorBase::setAlwaysProcess($always_process = TRUE) Sets this form to always be processed. This should only be used on RESTful GET forms that do NOT write data, as this could lead to security issues. It is useful so that searches do not need to have a form_id in their query arguments to trigger the search. Parameters bool $always_process: TRUE if the form should always be processed, FALSE otherwise. Return value $this Overrides FormStateInterface::setAlwaysProcess File cor

PathMatcher::__construct

public PathMatcher::__construct(ConfigFactoryInterface $config_factory, RouteMatchInterface $route_match) Creates a new PathMatcher. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory. \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. File core/lib/Drupal/Core/Path/PathMatcher.php, line 57 Class PathMatcher Provides a path matcher. Namespace Drupal\Core\Path Code public function __construct(ConfigFactoryInterface $co