You are here

protected property MenuSelectTreeBuilder::$manipulators in Menu Select 8

Same name and namespace in other branches
  1. 2.0.x src/MenuSelectTreeBuilder.php \Drupal\menu_select\MenuSelectTreeBuilder::manipulators

An array of manipulators for the menu tree.

Type: array

File

src/MenuSelectTreeBuilder.php, line 20

Class

MenuSelectTreeBuilder
A service for building out the menu trees used in menu select.

Namespace

Drupal\menu_select

Code

protected $manipulators = [
  // Use the same manipulators as cores default select list.
  [
    'callable' => 'menu.default_tree_manipulators:checkNodeAccess',
  ],
  [
    'callable' => 'menu.default_tree_manipulators:checkAccess',
  ],
  [
    'callable' => 'menu.default_tree_manipulators:generateIndexAndSort',
  ],
];