NullRouteMatch::getParameter

public NullRouteMatch::getParameter($parameter_name) Returns the processed value of a named route parameter. Raw URL parameters are processed by the parameter conversion system, which does operations such as converting entity ID parameters to fully-loaded entities. For example, the path node/12345 would have a raw node ID parameter value of 12345, while the processed parameter value would be the corresponding loaded node object. Parameters string $parameter_name: The parameter name. Return val

MenuForm::submitOverviewForm

protected MenuForm::submitOverviewForm(array $complete_form, FormStateInterface $form_state) Submit handler for the menu overview form. This function takes great care in saving parent items first, then items underneath them. Saving items in the incorrect order can break the tree. File core/modules/menu_ui/src/MenuForm.php, line 449 Class MenuForm Base form for menu edit forms. Namespace Drupal\menu_ui Code protected function submitOverviewForm(array $complete_form, FormStateInterface $

ActiveTheme::$path

The path to the theme. Type: string File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 27 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code protected $path;

ViewUIConverter::$tempStoreFactory

Stores the tempstore factory. Type: \Drupal\user\SharedTempStoreFactory File core/modules/views_ui/src/ParamConverter/ViewUIConverter.php, line 37 Class ViewUIConverter Provides upcasting for a view entity to be used in the Views UI. Namespace Drupal\views_ui\ParamConverter Code protected $tempStoreFactory;

ViewUI::__construct

public ViewUI::__construct(ViewEntityInterface $storage) Constructs a View UI object. Parameters \Drupal\views\ViewEntityInterface $storage: The View storage object to wrap. File core/modules/views_ui/src/ViewUI.php, line 144 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function __construct(ViewEntityInterface $storage) { $this->entityType = 'view'; $this->storage = $storage; }

CommentManager::getCountNewComments

public CommentManager::getCountNewComments(EntityInterface $entity, $field_name = NULL, $timestamp = 0) Returns the number of new comments available on a given entity for a user. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity to which the comments are attached to. string $field_name: (optional) The field_name to count comments for. Defaults to any field. int $timestamp: (optional) Time to count from. Defaults to time of last user access the entity. Return value int|false T

ViewUI::access

public ViewUI::access($operation = 'view', AccountInterface $account = NULL, $return_as_object = FALSE) Checks data value access. Parameters string $operation: The operation to be performed. \Drupal\Core\Session\AccountInterface $account: (optional) The user for which to check access, or NULL to check access for the current user. Defaults to NULL. bool $return_as_object: (optional) Defaults to FALSE. Return value bool|\Drupal\Core\Access\AccessResultInterface The access result. Returns a bool

BlockContentController

Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\block_content\Controller\BlockContentController File core/modules/block_content/src/Controller/BlockContentController.php, line 13 Namespace Drupal\block_content\Controller Members Name Modifiers Type Description BlockContentController::$blockContentStorage

template_preprocess_toolbar

template_preprocess_toolbar(&$variables) Prepares variables for administration toolbar templates. Default template: toolbar.html.twig. Parameters array $variables: An associative array containing: element: An associative array containing the properties and children of the tray. Properties used: #children, #attributes and #bar. File core/modules/toolbar/toolbar.module, line 76 Administration toolbar for quick access to top level administration items. Code function template_preprocess_t

PoItem::getComment

PoItem::getComment() Gets the comment of this translation. Return value String $comment File core/lib/Drupal/Component/Gettext/PoItem.php, line 156 Class PoItem PoItem handles one translation. Namespace Drupal\Component\Gettext Code function getComment() { return $this->_comment; }