BookBreadcrumbBuilder::applies

public BookBreadcrumbBuilder::applies(RouteMatchInterface $route_match) Whether this breadcrumb builder should be used to build the breadcrumb. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value bool TRUE if this builder should be used or FALSE to let other builders decide. Overrides BreadcrumbBuilderInterface::applies File core/modules/book/src/BookBreadcrumbBuilder.php, line 50 Class BookBreadcrumbBuilder Provides a breadcrumb builde

DateFormatterInterface::formatTimeDiffSince

public DateFormatterInterface::formatTimeDiffSince($timestamp, $options = array()) Formats the time difference from a timestamp to the current request time. Parameters $timestamp: A UNIX timestamp to compare against the current request time. array $options: (optional) An associative array with additional options. The following keys can be used: granularity: An integer value that signals how many different units to display in the string. Defaults to 2. langcode: The language code for the lang

ViewsJoin

Defines a Plugin annotation object for views join plugins. Hierarchy class \Drupal\Component\Annotation\AnnotationBase implements AnnotationInterfaceclass \Drupal\Component\Annotation\PluginIDclass \Drupal\views\Annotation\ViewsHandlerAnnotationBaseclass \Drupal\views\Annotation\ViewsJoin See also \Drupal\views\Plugin\views\join\JoinPluginBase Related topics Annotations Annotations for class discovery and metadata description. Views join handler plugins Handler plugins for Views table jo

drupal_get_installed_schema_version

drupal_get_installed_schema_version($module, $reset = FALSE, $array = FALSE) Returns the currently installed schema version for a module. Parameters string $module: A module name. bool $reset: Set to TRUE after installing or uninstalling an extension. bool $array: Set to TRUE if you want to get information about all modules in the system. Return value string|int The currently installed schema version, or SCHEMA_UNINSTALLED if the module is not installed. Related topics Schema API API to handl