[uml] RenderMenuSubtree

TODO: this content is incomplete, unfinished, or under construction.

Webel module:

Package/Namespace: 

UML element type:

OOE stereotypes:

Relationships
extends [Generalization]: 
UML Diagram
Click on the UML diagram to view it in a lightbox image viewer. You may then zoom in (or just open the image in a new web browser tab using the Download Original link to view large diagrams).

UML modelling domain:

Code examples

From OoePageController:

  /**
   * This implementation uses OOE @link IRender @endlink 
   * objects to generate the main demos welcome page.
   * ...
   * All render objects are obtained from an @link IRenderFactory @endlink.
   * ...
   * @return array 
   *   A Drupal render array, built using OOE render objects.
   */
  public function page() {
 
    //We start with a new render group/set that can contain children.
    $page = $this->rf()->newSet();
 
..
 
    $link_path = Common::MODULE;
    $page->addItem(
        'menuLinks',
        $this->rf()->newMenuSubtree(
            $link_path, MenuCommon::MENU_NAVIGATION
        )
    );
 
    // Finally, we ask the top-level IRenderGroup to build the entire Drupal render array
    return $page->get();
  }
Demos
Visit also