1. 8.2.x core/modules/filter/src/Annotation/Filter.php
  2. 8.2.x vendor/twig/twig/lib/Twig/Node/Expression/Filter.php
  3. 8.2.x vendor/twig/twig/lib/Twig/Filter.php
  4. 8.2.x vendor/twig/twig/lib/Twig/TokenParser/Filter.php
  5. 8.0.x vendor/twig/twig/lib/Twig/Filter.php
  6. 8.0.x vendor/twig/twig/lib/Twig/TokenParser/Filter.php
  7. 8.0.x core/modules/filter/src/Annotation/Filter.php
  8. 8.0.x vendor/phpunit/php-code-coverage/src/CodeCoverage/Filter.php
  9. 8.0.x vendor/twig/twig/lib/Twig/Node/Expression/Filter.php
  10. 8.0.x vendor/phpunit/phpunit/src/Util/Filter.php
  11. 8.1.x vendor/twig/twig/lib/Twig/Node/Expression/Filter.php
  12. 8.1.x vendor/twig/twig/lib/Twig/TokenParser/Filter.php
  13. 8.1.x vendor/twig/twig/lib/Twig/Filter.php
  14. 8.1.x core/modules/filter/src/Annotation/Filter.php
  15. 8.3.x vendor/twig/twig/lib/Twig/Node/Expression/Filter.php
  16. 8.3.x vendor/twig/twig/lib/Twig/TokenParser/Filter.php
  17. 8.3.x vendor/twig/twig/lib/Twig/Filter.php
  18. 8.3.x core/modules/filter/src/Annotation/Filter.php

Namespace

Drupal\filter\Annotation

File

core/modules/filter/src/Annotation/Filter.php
View source
  1. <?php
  2. namespace Drupal\filter\Annotation;
  3. use Drupal\Component\Annotation\Plugin;
  4. /**
  5. * Defines an filter annotation object.
  6. *
  7. * Plugin Namespace: Plugin\Filter
  8. *
  9. * For a working example, see \Drupal\filter\Plugin\Filter\FilterHtml
  10. *
  11. * @see \Drupal\filter\FilterPluginManager
  12. * @see \Drupal\filter\Plugin\FilterInterface
  13. * @see \Drupal\filter\Plugin\FilterBase
  14. * @see plugin_api
  15. *
  16. * @Annotation
  17. */
  18. class Filter extends Plugin {
  19. /**
  20. * The plugin ID.
  21. *
  22. * @var string
  23. */
  24. public $id;
  25. /**
  26. * The name of the provider that owns the filter.
  27. *
  28. * @var string
  29. */
  30. public $provider;
  31. /**
  32. * The human-readable name of the filter.
  33. *
  34. * This is used as an administrative summary of what the filter does.
  35. *
  36. * @ingroup plugin_translatable
  37. *
  38. * @var \Drupal\Core\Annotation\Translation
  39. */
  40. public $title;
  41. /**
  42. * Additional administrative information about the filter's behavior.
  43. *
  44. * @ingroup plugin_translatable
  45. *
  46. * @var \Drupal\Core\Annotation\Translation (optional)
  47. */
  48. public $description = '';
  49. /**
  50. * A default weight for the filter in new text formats.
  51. *
  52. * @var int (optional)
  53. */
  54. public $weight = 0;
  55. /**
  56. * Whether this filter is enabled or disabled by default.
  57. *
  58. * @var bool (optional)
  59. */
  60. public $status = FALSE;
  61. /**
  62. * The default settings for the filter.
  63. *
  64. * @var array (optional)
  65. */
  66. public $settings = array();
  67. }

Classes

Namesort descending Description
Filter Defines an filter annotation object.