You are here

protected property RestMenuItemsResource::$currentUser in Rest menu items 8

A current user instance.

Type: \Drupal\Core\Session\AccountProxyInterface

File

src/Plugin/rest/resource/RestMenuItemsResource.php, line 40
Create the menu item REST resource.

Class

RestMenuItemsResource
Provides a resource to get bundles by entity.

Namespace

Drupal\rest_menu_items\Plugin\rest\resource

Code

protected $currentUser;