original_string: public function getLinkTypes()
      {
          $event = new Event('Wasabi.Backend.MenuItems.getLinkTypes', $this);
          EventManager::instance()->dispatch($event);
  
          $typeExternal = ['type' => 'external'];
          $typeCustom = ['type' => 'custom'];
  
          $event->result[__d('wasabi_core', 'General')] = [
              json_encode($typeExternal) => __d('wasabi_core', 'External Link'),
              json_encode($typeCustom) => __d('wasabi_core', 'Custom Controller Action')
          ];
  
          return $event->result;
      }
code: public function getLinkTypes()
      {
          $event = new Event('Wasabi.Backend.MenuItems.getLinkTypes', $this);
          EventManager::instance()->dispatch($event);
  
          $typeExternal = ['type' => 'external'];
          $typeCustom = ['type' => 'custom'];
  
          $event->result[__d('wasabi_core', 'General')] = [
              json_encode($typeExternal) => __d('wasabi_core', 'External Link'),
              json_encode($typeCustom) => __d('wasabi_core', 'Custom Controller Action')
          ];
  
          return $event->result;
      }
code_tokens: public function getLinkTypes ( ) { $ event = new Event ( 'Wasabi.Backend.MenuItems.getLinkTypes' , $ this ) ; EventManager :: instance ( ) -> dispatch ( $ event ) ; $ typeExternal = [ 'type' => 'external' ] ; $ typeCustom = [ 'type' => 'custom' ] ; $ event -> result [ __d ( 'wasabi_core' , 'General' ) ] = [ json_encode ( $ typeExternal ) => __d ( 'wasabi_core' , 'External Link' ) , json_encode ( $ typeCustom ) => __d ( 'wasabi_core' , 'Custom Controller Action' ) ] ; return $ event -> result ; }
docstring: Get available link types via an Event trigger
  This fetches avilable Links from all activated Plugins.
  
  @return array
docstring_tokens: Get available link types via an Event trigger This fetches avilable Links from all activated Plugins .