public NodeGrantDatabaseStorage::__construct(Connection $database, ModuleHandlerInterface $module_handler, LanguageManagerInterface $language_manager)
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 53
Class
- NodeGrantDatabaseStorage
- Defines a storage handler 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; }
Please login to continue.