public property GroupContentEnabler::$code_only in Group 8
(optional) Whether this plugin can only be (un)installed through code.
This is useful for plugins that should not be enabled by choice, but rather when certain conditions are met throughout the site. When that happens, you should install the plugin on a group type through code, at which point it will show up in the plugin overview as enabled.
Type: bool
File
- src/
Annotation/ GroupContentEnabler.php, line 122
Class
- GroupContentEnabler
- Defines a GroupContentEnabler annotation object.
Namespace
Drupal\group\AnnotationCode
public $code_only = FALSE;