Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
AuthorizationProvider | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Drupal\authorization\Annotation; |
6 | |
7 | use Drupal\Component\Annotation\Plugin; |
8 | |
9 | /** |
10 | * Defines a Authorization provider item annotation object. |
11 | * |
12 | * @see \Drupal\authorization\Provider\ProviderPluginManager |
13 | * @see plugin_api |
14 | * |
15 | * @Annotation |
16 | */ |
17 | class AuthorizationProvider extends Plugin { |
18 | |
19 | /** |
20 | * The plugin ID. |
21 | * |
22 | * @var string |
23 | */ |
24 | public $id; |
25 | |
26 | /** |
27 | * The label of the plugin. |
28 | * |
29 | * @var \Drupal\Core\Annotation\Translation |
30 | * |
31 | * @ingroup plugin_translatable |
32 | */ |
33 | public $label; |
34 | |
35 | } |