3 namespace Drupal\drupalmoduleupgrader\Annotation;
5 use Drupal\Component\Annotation\Plugin;
8 * Defines a Plugin annotation object for DMU indexer plugins.
10 * Indexers scan a target module to determine what's in it so that other plugins
11 * can use that information. All available indexers are always run before any
12 * other plugin type. Indexers are responsible for cataloguing things like:
14 * - What hooks a module implements, and where those implementations reside (i.e.,
16 * - Classes defined by a module
17 * - Functions defined by a module
18 * - Tests defined by a module, and what kind of tests they are
19 * - Which functions are called by the module, and when
21 * Any information gathered by an indexer is available to other plugin types.
22 * Essentially, indexers build a "map" of a target module, which is stored in
23 * an index backend (by default, an SQLite database that lives only in memory).
25 * Plugin Namespace: Plugin\DMU\Indexer
29 class Indexer extends Plugin {