added some config that was missed / wrong
This commit is contained in:
parent
679f40c16d
commit
fd661f6a2f
@ -17,6 +17,6 @@ default_value_callback: 'Drupal\opencase_entities\Entity\OCCase::defaultVal'
|
|||||||
settings:
|
settings:
|
||||||
handler_settings:
|
handler_settings:
|
||||||
target_bundles:
|
target_bundles:
|
||||||
client: client
|
volunteer: volunteer
|
||||||
handler: default
|
handler: default
|
||||||
field_type: entity_reference
|
field_type: entity_reference
|
||||||
|
@ -29,7 +29,9 @@ function opencase_block_access(\Drupal\block\Entity\Block $block, $operation, \D
|
|||||||
'view.activities.page_1',
|
'view.activities.page_1',
|
||||||
'entity.oc_activity.canonical',
|
'entity.oc_activity.canonical',
|
||||||
'entity.oc_activity.edit_form',
|
'entity.oc_activity.edit_form',
|
||||||
'entity.oc_activity.add_form'
|
'entity.oc_activity.add_form',
|
||||||
|
'system.menu.opencase-add-actors',
|
||||||
|
'block.block.opencaseaddactors',
|
||||||
];
|
];
|
||||||
return AccessResult::forbiddenIf(!in_array($route_name, $routes_where_it_should_be_shown))->addCacheableDependency($block);
|
return AccessResult::forbiddenIf(!in_array($route_name, $routes_where_it_should_be_shown))->addCacheableDependency($block);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user