Drupal::Admin::ModuleCheckbox(3)

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) or "throttle".

name
    The "name" attribute stripped of type information; e.g. if the actual checkbox name attribute is "status[aggregator]", our name attribute is "aggregator"

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