public function ListingEmpty::__construct in Drupal 9
Same name in this branch
- 9 core/modules/node/src/Plugin/views/area/ListingEmpty.php \Drupal\node\Plugin\views\area\ListingEmpty::__construct()
- 9 core/modules/block_content/src/Plugin/views/area/ListingEmpty.php \Drupal\block_content\Plugin\views\area\ListingEmpty::__construct()
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/views/area/ListingEmpty.php \Drupal\node\Plugin\views\area\ListingEmpty::__construct()
Constructs a new ListingEmpty.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin ID for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Access\AccessManagerInterface $access_manager: The access manager.
Overrides HandlerBase::__construct
File
- core/
modules/ node/ src/ Plugin/ views/ area/ ListingEmpty.php, line 38
Class
- ListingEmpty
- Defines an area plugin to display a node/add link.
Namespace
Drupal\node\Plugin\views\areaCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, AccessManagerInterface $access_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->accessManager = $access_manager;
}