StateTransitionValidation::getTransitionFromStates

protected StateTransitionValidation::getTransitionFromStates(ModerationStateInterface $from, ModerationStateInterface $to) Returns the transition object that transitions from one state to another. Parameters \Drupal\content_moderation\ModerationStateInterface $from: The origin state. \Drupal\content_moderation\ModerationStateInterface $to: The destination state. Return value ModerationStateTransition|null A transition object, or NULL if there is no such transition. File core/modules/content_m

CommentInterface::getAuthorEmail

public CommentInterface::getAuthorEmail() Returns the comment author's email address. For anonymous authors, this is the value as typed in the comment form. Return value string The email address of the author of the comment. File core/modules/comment/src/CommentInterface.php, line 131 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function getAuthorEmail();

EntityDisplayFormBase::getDisplays

protected EntityDisplayFormBase::getDisplays() Returns entity (form) displays for the current entity display type. Return value \Drupal\Core\Entity\Display\EntityDisplayInterface[] An array holding entity displays or entity form displays. File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 839 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code protected function getDisplays() { $load_ids = array(); $display_enti

RoutePreloader::onFinishedRoutes

public RoutePreloader::onFinishedRoutes(Event $event) Store the non admin routes in state when the route building is finished. Parameters \Symfony\Component\EventDispatcher\Event $event: The route finish event. File core/lib/Drupal/Core/Routing/RoutePreloader.php, line 115 Class RoutePreloader Defines a class which preloads non-admin routes. Namespace Drupal\Core\Routing Code public function onFinishedRoutes(Event $event) { $this->state->set('routing.non_admin_routes', $this-&

CacheContextsPass

Adds cache_contexts parameter to the container. Hierarchy class \Drupal\Core\Cache\Context\CacheContextsPass implements CompilerPassInterface File core/lib/Drupal/Core/Cache/Context/CacheContextsPass.php, line 11 Namespace Drupal\Core\Cache\Context Members Name Modifiers Type Description CacheContextsPass::process public function Implements CompilerPassInterface::process(). Overrides CompilerPassInterface::process

TypedDataInterface::getName

public TypedDataInterface::getName() Returns the name of a property or item. Return value string If the data is a property of some complex data, the name of the property. If the data is an item of a list, the name is the numeric position of the item in the list, starting with 0. Otherwise, NULL is returned. File core/lib/Drupal/Core/TypedData/TypedDataInterface.php, line 113 Class TypedDataInterface Interface for typed data objects. Namespace Drupal\Core\TypedData Code public function

WriteSafeSessionHandler::write

public WriteSafeSessionHandler::write($session_id, $session_data) Writes the session data to the storage. Care, the session ID passed to write() can be different from the one previously received in read() when the session ID changed due to session_regenerate_id(). Parameters string $sessionId Session ID , see http://php.net/function.session-id: string $data Serialized session data to save: Return value bool true on success, false on failure Overrides SessionHandlerInterface::write See also h

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();

ViewsData::getAll

public ViewsData::getAll() Gets all table data. Return value array $data An array of table data. See also https://www.drupal.org/node/2723553 File core/modules/views/src/ViewsData.php, line 119 Class ViewsData Class to manage and lazy load cached views data. Namespace Drupal\views Code public function getAll() { if (!$this->fullyLoaded) { $this->allStorage = $this->getData(); } // Set storage from allStorage outside of the fullyLoaded check to prevent // cache c

ControllerBase::$entityFormBuilder

The entity form builder. Type: \Drupal\Core\Entity\EntityFormBuilderInterface File core/lib/Drupal/Core/Controller/ControllerBase.php, line 61 Class ControllerBase Utility base class for thin controllers. Namespace Drupal\Core\Controller Code protected $entityFormBuilder;