Tripal
Public Member Functions | List of all members
Drupal\tripal\Controller\TripalEntityUIController Class Reference
Inheritance diagram for Drupal\tripal\Controller\TripalEntityUIController:
Inheritance graph
[legend]
Collaboration diagram for Drupal\tripal\Controller\TripalEntityUIController:
Collaboration graph
[legend]

Public Member Functions

 __construct ()
 
 tripalContentAddPage ()
 
 tripalCheckForFields ($tripal_entity_type)
 

Detailed Description

Controller routines related to Tripal Entity and Tripal Entity Type UIs.

Constructor & Destructor Documentation

◆ __construct()

Drupal\tripal\Controller\TripalEntityUIController::__construct ( )

Constructs the TripalEntityUIController.

Member Function Documentation

◆ tripalCheckForFields()

Drupal\tripal\Controller\TripalEntityUIController::tripalCheckForFields (   $tripal_entity_type)

Checks for to see if new fields need to be added to a Tripal Content Type.

Todo:

call this from somewhere.

update all code.

◆ tripalContentAddPage()

Drupal\tripal\Controller\TripalEntityUIController::tripalContentAddPage ( )

The Tripal Content Add page where content types are listed.

Route: entity.tripal_entity.add_page Template: tripal-entity-content-add-list.html.twig

Returns
Drupal\Core\Render\Element Returns a rendered listing of Tripal Content Types linking to add forms.

The documentation for this class was generated from the following file: