3 namespace Drupal\Core\Block\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines a Block annotation object.
14 class Block extends Plugin {
24 * The administrative label of the block.
26 * @var \Drupal\Core\Annotation\Translation
28 * @ingroup plugin_translatable
30 public $admin_label = '';
33 * The category in the admin UI where the block will be listed.
35 * @var \Drupal\Core\Annotation\Translation
37 * @ingroup plugin_translatable
39 public $category = '';