src/Controller/TripalBlastHelpController.php
<?php
/**
* @file
* This is the controller for Tripal BLAST help page.
*/
namespace Drupal\tripal_blast\Controller;
use Drupal\Core\Controller\ControllerBase;
/**
* Defines TripalBlastHelpController class.
*
*/
class TripalBlastHelpController extends ControllerBase {
/**
* Returns a render-able array to create Tripal BLAST help page.
* 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 help() {
return [
// Tripal BLAST Help page theme.
'#theme' => 'theme-tripal-blast-help',
'#attached' => [
'library' => ['tripal_blast/tripal-blast-admin']
]
];
}
}