function DevelGenerate::get
Overrides AttributeBase::get
File
-
devel_generate/
src/ Attribute/ DevelGenerate.php, line 68
Class
- DevelGenerate
- Defines a DevelGenerate attribute object.
Namespace
Drupal\devel_generate\AttributeCode
public function get() : array|object {
// Core uses the 'dependencies' property for the class dependencies of the
// plugin. Keep the definition identical to the one built from the
// annotation, where 'dependencies' is the list of required modules.
return [
'dependencies' => $this->moduleDependencies,
] + parent::get();
}