Overview
Artifact ID: | f602e242ddef365b6e9c1925531180e56007ccc8471b3c0028cfc97665fff156 |
---|---|
Page Name: | type |
Date: | 2018-07-03 20:16:47 |
Original User: | mario |
Mimetype: | text/x-markdown |
Content
# type:
One "core" field of PMD is the type:
specifier in
each script:
# type: io
It's meant to be used by common "hook" plugin systems. Albeit it can be entirely decorational again.
Some apps might declare a few special values like
init
orcore
, and ignore all the rest.Other plugin systems might utilize
sidebar
orpost-form
to tie scripts to specific invocation points already.Or could just be a superset of category:, and not be used any further.
Some application API and plugin needs will instead use manual per-script code to register themselves. In which case this field would only be used for plugin installation e.g.
Others might even combine type:
and category:
or additionally a custom
class:
and function:
field for feature lookup/invocation.
common script types
...