Skip to content
Snippets Groups Projects

Resolve #3426959 "Convert viewsarea plugin"

Open sorlov requested to merge issue/drupal-3426959:3426959-convert-viewsarea-plugin into 11.x
2 unresolved threads

Closes #3426959

Merge request reports

Members who can merge are allowed to add commits.

Merge request pipeline #124064 passed

Merge request pipeline passed for 72ff4813

Approval is optional
Code Quality is loading
Test summary results are being parsed
Ready to merge by members who can write to the target branch.
  • The source branch is 2068 commits behind the target branch.
  • 1 commit will be added to 11.x.
  • Source branch will not be deleted.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
1854 1854 * The Drupal plugin system has a set of reusable components that developers
1855 1855 * can use, override, and extend in their modules. Most of the plugins use
1856 * annotations, which let classes register themselves as plugins and describe
1857 * their metadata. (Annotations can also be used for other purposes, though
1856 * attributes, which let classes register themselves as plugins and describe
1857 * their metadata. (Attributes can also be used for other purposes, though
1858 1858 * at the moment, Drupal only uses them for the plugin system.)
1859 1859 *
1860 * To annotate a class as a plugin, add code similar to the following to the
1860 * To attribute a class as a plugin, add code similar to the following to the
1861 1861 * end of the documentation block immediately preceding the class declaration:
1862 1862 * @code
1863 * * @ContentEntityType(
1864 * * id = "comment",
1865 * * label = @Translation("Comment"),
1863 * * #[ViewsArea(
  • sorlov added 1 commit

    added 1 commit

    • abff2e36 - Issue/3426959: Added the attribute examples and removed the annotation...

    Compare with previous version

  • sorlov added 11 commits

    added 11 commits

    Compare with previous version

  • 1847 1847 */
    1848 1848
    1849 1849 /**
    1850 * @defgroup annotation Annotations
    1850 * @defgroup attribute Attributes
    1851 1851 * @{
    1852 * Annotations for class discovery and metadata description.
    1852 * Attributes for class discovery and metadata description.
    1853 1853 *
    1854 1854 * The Drupal plugin system has a set of reusable components that developers
    1855 1855 * can use, override, and extend in their modules. Most of the plugins use
    1856 * annotations, which let classes register themselves as plugins and describe
    1857 * their metadata. (Annotations can also be used for other purposes, though
    1856 * attributes, which let classes register themselves as plugins and describe
    1857 * their metadata. (Attributes can also be used for other purposes, though
    1858 1858 * at the moment, Drupal only uses them for the plugin system.)
    Please register or sign in to reply
    Loading