Skip to content

Consider core-provided plugin registry and discovery alternatives #21

@bjeavons

Description

@bjeavons

A module reviewer suggested that Security Review could use core's plugin API system instead of custom - currently extending Drupal\security_review\Check and implementing hook_security_review_checks().

Drupal core provides a couple mechanisms that Security Review could switch to using in order to be more consistent with core and other modules. This issue is for evaluating those mechanisms and the value they might provide over current implementation.

  1. Service tags https://www.drupal.org/node/2239393
  2. Plugins API (via annotations) https://www.drupal.org/developing/api/8/plugins

(todo, expand descriptions and pro/cons)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions