refactoring (gulp and libraries) + some fixing

This commit is contained in:
Bachir Soussi Chiadmi
2018-04-04 12:58:58 +02:00
parent c8f54cb9f1
commit 6263b674b8
31 changed files with 13519 additions and 150 deletions
@@ -73,6 +73,7 @@ class EdlpSearchController extends ControllerBase {
$rendered = render($this->renderable);
// TODO: make respponse cachable
$response = new JsonResponse();
$response->setData([
'rendered'=> $rendered,
@@ -20,7 +20,7 @@ class EdlpSearchLinkBlock extends BlockBase {
*/
public function build() {
$build = [];
$url = Url::fromRoute('edlp_search.edlp_search_controller_searchForm', [], ['absolute' => TRUE]);
$url = Url::fromRoute('edlp_search.edlp_search_controller_searchForm');
$build['edlp_search_link_block'] = array(
'#title' => "Search",
'#type' => 'link',