class ReactionRule in Coder 8.2
Example annotation that exceeds 80 characters several times, but is valid.
Plugin annotation
@ConfigEntityType(
id = "rules_reaction_rule",
label = @Translation("Reaction Rule"),
handlers = {
"storage" = "Drupal\rules\Entity\ReactionRuleStorage",
"list_builder" = "Drupal\rules\Entity\Controller\RulesReactionListBuilder",
"form" = {
"add" = "\Drupal\rules\Entity\ReactionRuleAddForm",
"edit" = "\Drupal\rules\Entity\ReactionRuleEditForm",
"delete" = "\Drupal\Core\Entity\EntityDeleteForm"
}
},
admin_permission = "administer rules",
config_prefix = "reaction",
entity_keys = {
"id" = "id",
"label" = "label",
"status" = "status"
},
config_export = {
"id",
"label",
"event",
"module",
"description",
"tag",
"core",
"expression_id",
"configuration",
},
links = {
"collection" = "/admin/config/workflow/rules",
"edit-form" = "/admin/config/workflow/rules/reactions/edit/{rules_reaction_rule}",
"delete-form" = "/admin/config/workflow/rules/reactions/delete/{rules_reaction_rule}"
}
)
Hierarchy
- class \ReactionRule extends \ConfigEntityBase
Expanded class hierarchy of ReactionRule
File
- coder_sniffer/
Drupal/ Test/ good/ good.php, line 1326 - This file contains all the valid notations for the drupal coding standard.
View source
class ReactionRule extends ConfigEntityBase {
/**
* Config entities are allowed to have property names with underscores.
*
* @var string
*/
protected $expression_id;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ReactionRule:: |
protected | property | Config entities are allowed to have property names with underscores. |