ContentPreprocess

Determines whether a route is the "Latest version" tab of a node.

Hierarchy

File

core/modules/content_moderation/src/ContentPreprocess.php, line 13

Namespace

Drupal\content_moderation

Members

Name Modifiers Type Description
ContentPreprocess::$routeMatch protected property The route match service.
ContentPreprocess::create public static function Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create
ContentPreprocess::isLatestVersionPage public function Checks whether a route is the "Latest version" tab of a node.
ContentPreprocess::preprocessNode public function Wrapper for hook_preprocess_HOOK().
ContentPreprocess::__construct public function Constructor.
doc_Drupal
2016-10-29 08:58:05
Comments
Leave a Comment

Please login to continue.