NAME
Drupal::Admin::Checkbox - simple object representing module checkbox
METHODS
- group
-
The group to which the checkbox belongs, e.g.
Core - optional
- type
-
Type can be
status
(to turn a module on or off) orthrottle
. - name
-
The
name
attribute stripped of type information; e.g. if the actual checkbox name attribute isstatus[aggregator]
, our name attribute isaggregator
- id
-
The
id
attribute of the checkbox (not currently used for anything) - value
-
The
value
attribute of the checkbox; i.e. the user visible label - checked
-
Boolean, whether or not the checkbox is checked
- disabled
-
Boolean, whether or not the checkbox is disabled
- index
-
Index of the checkbox on the page, in case there are multiples with the same name (starts from 0)
- readable
-
Return a human readable string describing module state