_tracker_calculate_changed

_tracker_calculate_changed($node) Picks the most recent timestamp between node changed and the last comment. @todo Check if we should introduce 'language context' here, because the callers may need different timestamps depending on the users' language? Parameters \Drupal\node\NodeInterface $node: The node entity. Return value int The node changed timestamp, or most recent comment timestamp, whichever is the greatest. File core/modules/tracker/tracker.module, line 294 Tracks recent content pos

_tracker_user_access

_tracker_user_access($account) Access callback: Determines access permission for an account. Parameters int $account: The user account ID to track. Return value bool TRUE if a user has permission to access the account for $account and has permission to access the content. See also tracker_menu() File core/modules/tracker/tracker.module, line 164 Tracks recent content posted by a user or users. Code function _tracker_user_access($account) { return $account->access('view') && $a

_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

_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

_toolbar_get_subtrees_hash

_toolbar_get_subtrees_hash() Returns the hash of the per-user rendered toolbar subtrees. Return value string The hash of the admin_menu subtrees. File core/modules/toolbar/toolbar.module, line 354 Administration toolbar for quick access to top level administration items. Code function _toolbar_get_subtrees_hash() { list($subtrees, $cacheability) = toolbar_get_rendered_subtrees(); $hash = Crypt::hashBase64(serialize($subtrees)); return [$hash, $cacheability]; }

_system_rebuild_module_data_ensure_required

_system_rebuild_module_data_ensure_required($module, &$modules) Ensures that dependencies of required modules are also required. Parameters \Drupal\Core\Extension\Extension $module: The module info. \Drupal\Core\Extension\Extension[] $modules: The array of all module info. File core/modules/system/system.module, line 1046 Configuration system that lets administrators modify the workings of the site. Code function _system_rebuild_module_data_ensure_required($module, &$modules) { if

_system_update_create_block

_system_update_create_block($name, $theme_name, array $values) Helper function to create block configuration objects for an update. Parameters string $name: The name of the config object. string $theme_name: The name of the theme the block is associated with. array $values: The block config values. File core/modules/system/system.install, line 1409 Install, update and uninstall functions for the system module. Code function _system_update_create_block($name, $theme_name, array $values) { i

_template_preprocess_default_variables

_template_preprocess_default_variables() Returns hook-independent variables to template_preprocess(). File core/includes/theme.inc, line 1223 The theme system, which controls the output of Drupal. Code function _template_preprocess_default_variables() { // Variables that don't depend on a database connection. $variables = array( 'attributes' => array(), 'title_attributes' => array(), 'content_attributes' => array(), 'title_prefix' => array(), 'title_suffix'

_toolbar_do_get_rendered_subtrees

_toolbar_do_get_rendered_subtrees(array $data) #pre_render callback for toolbar_get_rendered_subtrees(). File core/modules/toolbar/toolbar.module, line 304 Administration toolbar for quick access to top level administration items. Code function _toolbar_do_get_rendered_subtrees(array $data) { $menu_tree = \Drupal::service('toolbar.menu_tree'); // Load the administration menu. The first level is the "Administration" link. // In order to load the children of that link and the subsequent t

_system_rebuild_module_data

_system_rebuild_module_data() Helper function to scan and collect module .info.yml data. Return value \Drupal\Core\Extension\Extension[] An associative array of module information. File core/modules/system/system.module, line 958 Configuration system that lets administrators modify the workings of the site. Code function _system_rebuild_module_data() { $listing = new ExtensionDiscovery(\Drupal::root()); // Find installation profiles. This needs to happen before performing a // module