1. 8.5.x vendor/twig/twig/lib/Twig/Node/Block.php
  2. 8.5.x core/modules/views/src/Plugin/views/display/Block.php
  3. 8.5.x core/modules/block/src/Plugin/migrate/source/Block.php
  4. 8.5.x core/modules/block/src/Entity/Block.php
  5. 8.5.x core/lib/Drupal/Core/Block/Annotation/Block.php
  6. 8.5.x vendor/twig/twig/lib/Twig/TokenParser/Block.php
  7. 8.0.x core/modules/views/src/Plugin/views/display/Block.php
  8. 8.0.x vendor/twig/twig/lib/Twig/Node/Block.php
  9. 8.0.x core/modules/block/src/Entity/Block.php
  10. 8.0.x core/lib/Drupal/Core/Block/Annotation/Block.php
  11. 8.0.x core/modules/block/src/Plugin/migrate/source/Block.php
  12. 8.0.x vendor/twig/twig/lib/Twig/TokenParser/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/TokenParser/Block.php
  17. 8.1.x core/modules/block/src/Entity/Block.php
  18. 8.1.x vendor/twig/twig/lib/Twig/Node/Block.php
  19. 8.2.x core/modules/block/src/Plugin/migrate/source/Block.php
  20. 8.2.x core/modules/block/src/Entity/Block.php
  21. 8.2.x vendor/twig/twig/lib/Twig/TokenParser/Block.php
  22. 8.2.x vendor/twig/twig/lib/Twig/Node/Block.php
  23. 8.2.x core/lib/Drupal/Core/Block/Annotation/Block.php
  24. 8.2.x core/modules/views/src/Plugin/views/display/Block.php
  25. 8.3.x vendor/twig/twig/lib/Twig/Node/Block.php
  26. 8.3.x core/modules/block/src/Plugin/migrate/source/Block.php
  27. 8.3.x core/lib/Drupal/Core/Block/Annotation/Block.php
  28. 8.3.x core/modules/block/src/Entity/Block.php
  29. 8.3.x core/modules/views/src/Plugin/views/display/Block.php
  30. 8.3.x vendor/twig/twig/lib/Twig/TokenParser/Block.php
  31. 8.4.x vendor/twig/twig/lib/Twig/TokenParser/Block.php
  32. 8.4.x core/modules/block/src/Entity/Block.php
  33. 8.4.x core/lib/Drupal/Core/Block/Annotation/Block.php
  34. 8.4.x vendor/twig/twig/lib/Twig/Node/Block.php
  35. 8.4.x core/modules/block/src/Plugin/migrate/source/Block.php
  36. 8.4.x core/modules/views/src/Plugin/views/display/Block.php
  37. 8.6.x core/modules/block/src/Plugin/migrate/source/Block.php
  38. 8.6.x core/modules/views/src/Plugin/views/display/Block.php
  39. 8.6.x vendor/twig/twig/lib/Twig/TokenParser/Block.php
  40. 8.6.x core/lib/Drupal/Core/Block/Annotation/Block.php
  41. 8.6.x core/modules/block/src/Entity/Block.php
  42. 8.6.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
<?php

namespace Drupal\Core\Block\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a Block annotation object.
 *
 * @ingroup block_api
 *
 * @Annotation
 */
class Block extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The administrative label of the block.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $admin_label = '';

  /**
   * The category in the admin UI where the block will be listed.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $category = '';

}

Classes

Namesort descending Description
Block Defines a Block annotation object.