function hook_type_style_entity_support in Type Style 8
Give entities Type Style support that would not normally have it.
Note: You should add schema for each new entity type. See config/schema/type_style.schema.yml for reference.
Return value
string|array An array of Entity Type IDs or a single Entity Type ID.
1 function implements hook_type_style_entity_support()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- type_style_moderation_type_style_entity_support in modules/
type_style_moderation/ type_style_moderation.module - Implements hook_type_style_entity_support().
1 invocation of hook_type_style_entity_support()
- type_style_form_alter in ./
type_style.module - Implements hook_form_alter().
File
- ./
type_style.api.php, line 47 - Hooks related to Type Style module.
Code
function hook_type_style_entity_support() {
return [
'moderation_state',
'moderation_state_transition',
];
}