ContentPreprocess::__construct

public ContentPreprocess::__construct(RouteMatchInterface $route_match)

Constructor.

Parameters

\Drupal\Core\Routing\RouteMatchInterface $route_match: Current route match service.

File

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

Class

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

Namespace

Drupal\content_moderation

Code

public function __construct(RouteMatchInterface $route_match) {
  $this->routeMatch = $route_match;
}
doc_Drupal
2016-10-29 08:58:05
Comments
Leave a Comment

Please login to continue.