1. 8.2.x vendor/twig/twig/lib/Twig/TokenParser/Block.php
  2. 8.2.x vendor/twig/twig/lib/Twig/Node/Block.php
  3. 8.2.x core/lib/Drupal/Core/Block/Annotation/Block.php
  4. 8.2.x core/modules/views/src/Plugin/views/display/Block.php
  5. 8.2.x core/modules/block/src/Entity/Block.php
  6. 8.2.x core/modules/block/src/Plugin/migrate/source/Block.php
  7. 8.0.x core/modules/block/src/Entity/Block.php
  8. 8.0.x vendor/twig/twig/lib/Twig/Node/Block.php
  9. 8.0.x core/modules/views/src/Plugin/views/display/Block.php
  10. 8.0.x core/lib/Drupal/Core/Block/Annotation/Block.php
  11. 8.0.x vendor/twig/twig/lib/Twig/TokenParser/Block.php
  12. 8.0.x core/modules/block/src/Plugin/migrate/source/Block.php
  13. 8.1.x core/modules/views/src/Plugin/views/display/Block.php
  14. 8.1.x core/modules/block/src/Plugin/migrate/source/Block.php
  15. 8.1.x core/lib/Drupal/Core/Block/Annotation/Block.php
  16. 8.1.x vendor/twig/twig/lib/Twig/Node/Block.php
  17. 8.1.x vendor/twig/twig/lib/Twig/TokenParser/Block.php
  18. 8.1.x core/modules/block/src/Entity/Block.php
  19. 8.3.x core/modules/block/src/Plugin/migrate/source/Block.php
  20. 8.3.x core/modules/views/src/Plugin/views/display/Block.php
  21. 8.3.x vendor/twig/twig/lib/Twig/TokenParser/Block.php
  22. 8.3.x core/lib/Drupal/Core/Block/Annotation/Block.php
  23. 8.3.x core/modules/block/src/Entity/Block.php
  24. 8.3.x vendor/twig/twig/lib/Twig/Node/Block.php

Namespace

Drupal\Core\Block\Annotation

File

core/lib/Drupal/Core/Block/Annotation/Block.php
View source
  1. <?php
  2. namespace Drupal\Core\Block\Annotation;
  3. use Drupal\Component\Annotation\Plugin;
  4. /**
  5. * Defines a Block annotation object.
  6. *
  7. * @ingroup block_api
  8. *
  9. * @Annotation
  10. */
  11. class Block extends Plugin {
  12. /**
  13. * The plugin ID.
  14. *
  15. * @var string
  16. */
  17. public $id;
  18. /**
  19. * The administrative label of the block.
  20. *
  21. * @var \Drupal\Core\Annotation\Translation
  22. *
  23. * @ingroup plugin_translatable
  24. */
  25. public $admin_label = '';
  26. /**
  27. * The category in the admin UI where the block will be listed.
  28. *
  29. * @var \Drupal\Core\Annotation\Translation
  30. *
  31. * @ingroup plugin_translatable
  32. */
  33. public $category = '';
  34. }

Classes

Namesort descending Description
Block Defines a Block annotation object.