Compare commits

..

1 Commits
0.2.5 ... 0.2.6

Author SHA1 Message Date
fd661f6a2f added some config that was missed / wrong 2018-07-19 20:01:59 +02:00
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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);
} }