function ResourceTypeBuildEventSubscriber::getSubscribedEvents
File
-
core/
modules/ jsonapi/ tests/ modules/ jsonapi_test_resource_type_building/ src/ EventSubscriber/ ResourceTypeBuildEventSubscriber.php, line 19
Class
- ResourceTypeBuildEventSubscriber
- Event subscriber which tests disabling resource types.
Namespace
Drupal\jsonapi_test_resource_type_building\EventSubscriberCode
public static function getSubscribedEvents() : array {
return [
ResourceTypeBuildEvents::BUILD => [
[
'disableResourceType',
],
[
'aliasResourceTypeFields',
],
[
'disableResourceTypeFields',
],
[
'renameResourceType',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.