Skip to content
Snippets Groups Projects
Commit 7c01acc2 authored by Joe Parsons's avatar Joe Parsons
Browse files

Add visibility to moved workflow_delete hook.

parent dc7d1c18
No related branches found
Tags
No related merge requests found
Pipeline #417276 failed
......@@ -372,7 +372,7 @@ public function workflowUpdate(WorkflowInterface $entity) {
* Implements hook_ENTITY_TYPE_delete().
*/
#[Hook('workflow_delete')]
function workflowDelete(WorkflowInterface $entity) {
public function workflowDelete(WorkflowInterface $entity) {
// Delete actions for changing moderation state.
$workflow_base_action_id = 'content_moderation_' . $entity->id();
$entity_types = $entity->getTypePlugin()->getEntityTypes();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment