StackedRouteMatchInterface::getParentRouteMatch

public StackedRouteMatchInterface::getParentRouteMatch() Returns the parent route match of the current. Return value \Drupal\Core\Routing\RouteMatchInterface|null The parent route match or NULL, if it the master route match. File core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php, line 34 Class StackedRouteMatchInterface Defines an interface for a stack of route matches. Namespace Drupal\Core\Routing Code public function getParentRouteMatch();

FormatterBase::settingsSummary

public FormatterBase::settingsSummary() Returns a short summary for the current formatter settings. If an empty result is returned, a UI can still be provided to display a settings form in case the formatter has configurable settings. Return value string[] A short summary of the formatter settings. Overrides FormatterInterface::settingsSummary File core/lib/Drupal/Core/Field/FormatterBase.php, line 121 Class FormatterBase Base class for 'Field formatter' plugin implementations. Namespac

MenuTreeStorage::saveRecursive

protected MenuTreeStorage::saveRecursive($id, &$children, &$links) Saves menu links recursively. Parameters string $id: The definition ID. array $children: An array of IDs of child links collected by parent ID. array $links: An array of all definitions keyed by ID. File core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 811 Class MenuTreeStorage Provides a menu tree storage using the database. Namespace Drupal\Core\Menu Code protected function saveRecursive($id, &$childre

dblog_help

dblog_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/dblog/dblog.module, line 19 System monitoring and logging for administrators. Code function dblog_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.dblog': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Database Logging module logs system events in the Drupal database. For mor

SharedTempStoreFactory::get

SharedTempStoreFactory::get($collection, $owner = NULL) Creates a SharedTempStore for the current user or anonymous session. Parameters string $collection: The collection name to use for this key/value store. This is typically a shared namespace or module name, e.g. 'views', 'entity', etc. mixed $owner: (optional) The owner of this SharedTempStore. By default, the SharedTempStore is owned by the currently authenticated user, or by the active anonymous session if no user is logged in. Return va

locale_string_is_safe

locale_string_is_safe($string) Check that a string is safe to be added or imported as a translation. This test can be used to detect possibly bad translation strings. It should not have any false positives. But it is only a test, not a transformation, as it destroys valid HTML. We cannot reliably filter translation strings on import because some strings are irreversibly corrupted. For example, a &amp; in the translation would get encoded to &amp;amp; by \Drupal\Component\Utility\Xss::fi

FeedInterface::getWebsiteUrl

public FeedInterface::getWebsiteUrl() Returns the parent website of the feed. Return value string The parent website of the feed. File core/modules/aggregator/src/FeedInterface.php, line 105 Class FeedInterface Provides an interface defining an aggregator feed entity. Namespace Drupal\aggregator Code public function getWebsiteUrl();

DatabaseStorage::write

public DatabaseStorage::write($name, array $data) Writes configuration data to the storage. Parameters string $name: The name of a configuration object to save. array $data: The configuration data to write. Return value bool TRUE on success, FALSE in case of an error. Throws \Drupal\Core\Config\StorageException If the back-end storage does not exist and cannot be created. Overrides StorageInterface::write File core/lib/Drupal/Core/Config/DatabaseStorage.php, line 120 Class DatabaseStorag

Node::getTitle

public Node::getTitle() Gets the node title. Return value string Title of the node. Overrides NodeInterface::getTitle File core/modules/node/src/Entity/Node.php, line 188 Class Node Defines the node entity class. Namespace Drupal\node\Entity Code public function getTitle() { return $this->get('title')->value; }

FormatterBase::view

public FormatterBase::view(FieldItemListInterface $items, $langcode = NULL) Builds a renderable array for a fully themed field. Parameters \Drupal\Core\Field\FieldItemListInterface $items: The field values to be rendered. string $langcode: (optional) The language that should be used to render the field. Defaults to the current content language. Return value array A renderable array for a themed field with its label and all its values. Overrides FormatterInterface::view File core/lib/Drupal/Co