function SystemMenuNavigationBlock::__construct
Constructs new SystemMenuNavigationBlock.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $menuStorage: The menu storage.
File
- 
              core/
modules/ navigation/ src/ Plugin/ Derivative/ SystemMenuNavigationBlock.php, line 26  
Class
- SystemMenuNavigationBlock
 - Provides navigation block plugin definitions for custom menus.
 
Namespace
Drupal\navigation\Plugin\DerivativeCode
public function __construct(protected EntityStorageInterface $menuStorage) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.