menu.inc

API for the Drupal menu system. File core/includes/menu.inc Functions Name Description menu_cache_clear_all Clears all cached menu data. menu_list_system_menus Returns an array containing the names of system-defined (default) menus. menu_local_tabs Returns a renderable element for the primary and secondary tabs. menu_local_tasks Deprecated Collects the local tasks (tabs) for the current route. menu_primary_local_tasks Deprecated Returns the rendered local tasks at the

Container::$frozen

Whether the container parameters can still be changed. For testing purposes the container needs to be changed. Type: bool File core/lib/Drupal/Component/DependencyInjection/Container.php, line 104 Class Container Provides a container optimized for Drupal's needs. Namespace Drupal\Component\DependencyInjection Code protected $frozen = TRUE;

UserInterface::getCreatedTime

public UserInterface::getCreatedTime() Returns the creation time of the user as a UNIX timestamp. Return value int Timestamp of the creation date. File core/modules/user/src/UserInterface.php, line 90 Class UserInterface Provides an interface defining a user entity. Namespace Drupal\user Code public function getCreatedTime();

LocaleConfigManager::$typedConfigManager

The typed config manager. Type: \Drupal\Core\Config\TypedConfigManagerInterface File core/modules/locale/src/LocaleConfigManager.php, line 76 Class LocaleConfigManager Manages configuration supported in part by interface translation. Namespace Drupal\locale Code protected $typedConfigManager;

DiffEngine::_compareseq

protected DiffEngine::_compareseq($xoff, $xlim, $yoff, $ylim) Find LCS of two sequences. The results are recorded in the vectors $this->{x,y}changed[], by storing a 1 in the element for each line that is an insertion or deletion (ie. is not in the LCS). The subsequence of file 0 is [XOFF, XLIM) and likewise for file 1. Note that XLIM, YLIM are exclusive bounds. All line numbers are origin-0 and discarded lines are not counted. File core/lib/Drupal/Component/Diff/Engine/DiffEngine.php, line 2

MenuLinkInterface::getMenuName

public MenuLinkInterface::getMenuName() Returns the menu name of the menu link. Return value string The menu name of the menu link. File core/lib/Drupal/Core/Menu/MenuLinkInterface.php, line 44 Class MenuLinkInterface Defines an interface for classes providing a type of menu link. Namespace Drupal\Core\Menu Code public function getMenuName();

ViewsArgument

Defines a Plugin annotation object for views argument handlers. Hierarchy class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterfaceclass \Drupal\Component\Annotation\PluginIDclass \Drupal\views\Annotation\ViewsHandlerAnnotationBaseclass \Drupal\views\Annotation\ViewsArgument See also \Drupal\views\Plugin\views\argument\ArgumentPluginBase Related topics Annotations Annotations for class discovery and metadata description. Views argument handlers Handler plugins for

StringBase::getPlurals

public StringBase::getPlurals() Splits string to work with plural values. Return value array Array of strings that are plural variants. Overrides StringInterface::getPlurals File core/modules/locale/src/StringBase.php, line 97 Class StringBase Defines the locale string base class. Namespace Drupal\locale Code public function getPlurals() { return explode(LOCALE_PLURAL_DELIMITER, $this->getString()); }

MatcherDumper::addRoutes

public MatcherDumper::addRoutes(RouteCollection $routes) Adds additional routes to be dumped. Parameters \Symfony\Component\Routing\RouteCollection $routes: A collection of routes to add to this dumper. Overrides MatcherDumperInterface::addRoutes File core/lib/Drupal/Core/Routing/MatcherDumper.php, line 67 Class MatcherDumper Dumps Route information to a database table. Namespace Drupal\Core\Routing Code public function addRoutes(RouteCollection $routes) { if (empty($this->routes

hook_entity_field_storage_info

hook_entity_field_storage_info(\Drupal\Core\Entity\EntityTypeInterface $entity_type) Provides field storage definitions for a content entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. Return value \Drupal\Core\Field\FieldStorageDefinitionInterface[] An array of field storage definitions, keyed by field name. See also hook_entity_field_storage_info_alter() \Drupal\Core\Field\FieldStorageDefinitionInterface \Drupal\Core\Entity\EntityManag