12345678910111213141516171819202122232425262728293031 |
- <?php
- /**
- * @file
- * This is the controller for Tripal BLAST UI.
- */
- namespace Drupal\tripal_blast\Controller;
- use Drupal\Core\Controller\ControllerBase;
- /**
- * Defines TripalBlastUI class.
- *
- */
- class TripalBlastUIController extends ControllerBase {
- /**
- * Returns a render-able array to create Tripal BLAST UI elements.
- * A list of variables (context links presented in the interface) is used
- * and is defined in the hook_theme implementation of this module.
- * @see hook_theme in tripal_blast.module.
- */
- public function ui() {
- return [
- // Tripal BLAST UI page theme.
- '#theme' => 'theme-tripal-blast-ui',
- '#attached' => [
- 'library' => ['tripal_blast/tripal-blast-ui']
- ]
- ];
- }
- }
|