function BlockContentAddLocalAction::__construct

Same name in other branches
  1. 10 core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php \Drupal\block_content\Plugin\Menu\LocalAction\BlockContentAddLocalAction::__construct()

Constructs a BlockContentAddLocalAction object.

Overrides LocalActionDefault::__construct

File

core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php, line 20

Class

BlockContentAddLocalAction
Modifies the 'Add content block' local action.

Namespace

Drupal\block_content\Plugin\Menu\LocalAction

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, RouteProviderInterface $routeProvider, RequestStack $requestStack) {
    parent::__construct($configuration, $plugin_id, $plugin_definition, $routeProvider);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.