Changed max length of full name, and some other things

This commit is contained in:
2021-02-08 21:28:15 +00:00
parent 9646e216aa
commit 7a995060ce
6 changed files with 16 additions and 7 deletions

View File

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