LocalTaskManager::$accessManager

The access manager. Type: \Drupal\Core\Access\AccessManagerInterface File core/lib/Drupal/Core/Menu/LocalTaskManager.php, line 100 Class LocalTaskManager Provides the default local task manager using YML as primary definition. Namespace Drupal\Core\Menu Code protected $accessManager;

ViewsQuery::$help

A short help string; this is displayed in the views UI. Type: \Drupal\Core\Annotation\Translation Related topics Annotation for translatable text Describes how to put translatable UI text into annotations. File core/modules/views/src/Annotation/ViewsQuery.php, line 48 Class ViewsQuery Defines a Plugin annotation object for views query plugins. Namespace Drupal\views\Annotation Code public $help = '';

CommentInterface::getCommentedEntity

public CommentInterface::getCommentedEntity() Returns the entity to which the comment is attached. Return value \Drupal\Core\Entity\FieldableEntityInterface The entity on which the comment is attached. File core/modules/comment/src/CommentInterface.php, line 46 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getCommentedEntity();

CommentInterface::setPublished

public CommentInterface::setPublished($status) Sets the published status of the comment entity. Parameters bool $status: Set to TRUE to publish the comment, FALSE to unpublish. Return value \Drupal\comment\CommentInterface The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 219 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setPublished($status);

PluralVariants::getSourceElement

protected PluralVariants::getSourceElement(LanguageInterface $source_language, $source_config) Returns the source element for a given configuration definition. This can be either a render array that actually outputs the source values directly or a read-only form element with the source values depending on what is considered to provide a more intuitive user interface for the translator. Parameters \Drupal\Core\Language\LanguageInterface $source_language: Thee source language of the configuratio

ViewsData::getData

protected ViewsData::getData() Gets all data invoked by hook_views_data(). This is requested from the cache before being rebuilt. Return value array An array of all data. File core/modules/views/src/ViewsData.php, line 235 Class ViewsData Class to manage and lazy load cached views data. Namespace Drupal\views Code protected function getData() { $this->fullyLoaded = TRUE; if ($data = $this->cacheGet($this->baseCid)) { return $data->data; } else { $modules =

MenuParentFormSelector::getParentDepthLimit

protected MenuParentFormSelector::getParentDepthLimit($id) Returns the maximum depth of the possible parents of the menu link. Parameters string $id: The menu link plugin ID or an empty value for a new link. Return value int The depth related to the depth of the given menu link. File core/lib/Drupal/Core/Menu/MenuParentFormSelector.php, line 113 Class MenuParentFormSelector Default implementation of the menu parent form selector service. Namespace Drupal\Core\Menu Code protected func

CommentInterface::getCreatedTime

public CommentInterface::getCreatedTime() Returns the time that the comment was created. Return value int The timestamp of when the comment was created. File core/modules/comment/src/CommentInterface.php, line 181 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getCreatedTime();

DefaultHtmlRouteProvider::getCanonicalRoute

protected DefaultHtmlRouteProvider::getCanonicalRoute(EntityTypeInterface $entity_type) Gets the canonical route. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type. Return value \Symfony\Component\Routing\Route|null The generated route, if available. File core/lib/Drupal/Core/Entity/Routing/DefaultHtmlRouteProvider.php, line 214 Class DefaultHtmlRouteProvider Provides HTML routes for entities. Namespace Drupal\Core\Entity\Routing Code protected function

ControllerBase::formBuilder

protected ControllerBase::formBuilder() Returns the form builder service. Return value \Drupal\Core\Form\FormBuilderInterface File core/lib/Drupal/Core/Controller/ControllerBase.php, line 249 Class ControllerBase Utility base class for thin controllers. Namespace Drupal\Core\Controller Code protected function formBuilder() { if (!$this->formBuilder) { $this->formBuilder = $this->container()->get('form_builder'); } return $this->formBuilder; }