ppound
3 years ago
5 changed files with 52 additions and 9 deletions
@ -0,0 +1,25 @@
|
||||
<?php |
||||
|
||||
namespace Drupal\roblib_search\Controller; |
||||
|
||||
use Drupal\Core\Controller\ControllerBase; |
||||
|
||||
/** |
||||
* Controller for d3 graphs. |
||||
*/ |
||||
class RoblibSearchController extends ControllerBase { |
||||
|
||||
/** |
||||
* Display the markup. |
||||
* |
||||
* @return array |
||||
* A renderable array. |
||||
*/ |
||||
public function searchResults($query = NULL) { |
||||
return [ |
||||
'#theme' => 'roblib_search_results', |
||||
'#query' => $query, |
||||
]; |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue