You are here

protected property RestMenuItemsResource::$minDepth in Rest menu items 8.2

Same name and namespace in other branches
  1. 8 src/Plugin/rest/resource/RestMenuItemsResource.php \Drupal\rest_menu_items\Plugin\rest\resource\RestMenuItemsResource::minDepth
  2. 3.0.x src/Plugin/rest/resource/RestMenuItemsResource.php \Drupal\rest_menu_items\Plugin\rest\resource\RestMenuItemsResource::minDepth

The minimum depth we want to return the tree from.

Type: int

File

src/Plugin/rest/resource/RestMenuItemsResource.php, line 71

Class

RestMenuItemsResource
Provides a resource to get bundles by entity.

Namespace

Drupal\rest_menu_items\Plugin\rest\resource

Code

protected $minDepth = 1;