ProviderInterface
Interface for context menu items providers
Table of Contents
Methods
- addItems() : array<string|int, mixed>
- canHandle() : bool
- Checks if the provider can add items to the menu
- getPriority() : int
- Returns the priority of the provider. Higher priority value means provider is executed first
Methods
addItems()
public
addItems(array<string|int, mixed> $items) : array<string|int, mixed>
Parameters
- $items : array<string|int, mixed>
Return values
array<string|int, mixed>canHandle()
Checks if the provider can add items to the menu
public
canHandle() : bool
Return values
boolgetPriority()
Returns the priority of the provider. Higher priority value means provider is executed first
public
getPriority() : int