This commit is contained in:
2021-02-22 11:38:45 +00:00
parent 20cc8cd753
commit 74fac415c8
3 changed files with 80 additions and 187 deletions

View File

@ -24,7 +24,6 @@ class ContextualMenu extends BlockBase {
public function build() {
$route_name = \Drupal::routeMatch()->getRouteName();
if ($route_name == 'entity.oc_actor.canonical' && \Drupal::routeMatch()->getParameter('oc_actor')->bundle() == 'client' ) {
;
$markup = $this->actorPage();
$build = [];
$build['contextual_menu'] = [