Bento box search with multiple targets
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

38 lines
661 B

<?php
namespace Drupal\roblib_search_eds\Controller;
use Drupal\Core\Controller\ControllerBase;
/**
* Controller for d3 graphs.
*/
class RoblibSearchEdsController extends ControllerBase {
/**
* Display the markup.
*
* @return array
* A renderable array.
*/
public function articleResults($query = NULL) {
return [
'#theme' => 'roblib_search_results',
'#query' => $query,
];
}
/**
* Display the markup.
*
* @return array
* A renderable array.
*/
public function bookResults($query = NULL) {
return [
'#theme' => 'roblib_search_results',
'#query' => $query,
];
}
}