You are here

public function NodeGrantDatabaseStorage::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/node/src/NodeGrantDatabaseStorage.php \Drupal\node\NodeGrantDatabaseStorage::__construct()

Constructs a NodeGrantDatabaseStorage object.

Parameters

\Drupal\Core\Database\Connection $database: The database connection.

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler.

\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.

File

core/modules/node/src/NodeGrantDatabaseStorage.php, line 58
Contains \Drupal\node\NodeGrantDatabaseStorage.

Class

NodeGrantDatabaseStorage
Defines a controller class that handles the node grants system.

Namespace

Drupal\node

Code

public function __construct(Connection $database, ModuleHandlerInterface $module_handler, LanguageManagerInterface $language_manager) {
  $this->database = $database;
  $this->moduleHandler = $module_handler;
  $this->languageManager = $language_manager;
}