|
@@ -238,10 +238,12 @@ function edlp_corpus_page_attachments(array &$attachments) {
|
|
|
$url = Url::fromRoute('edlp_corpus.corpusjson');
|
|
|
$attachments['#attached']['drupalSettings']['edlp_corpus']['load_corpus_ajax_url'] = $url->getInternalPath();
|
|
|
|
|
|
-
|
|
|
// load corpus
|
|
|
$url = Url::fromRoute('edlp_corpus.articlesindex');
|
|
|
$attachments['#attached']['drupalSettings']['edlp_corpus']['articlesindex_url'] = $url->getInternalPath();
|
|
|
+
|
|
|
+ // random btn link title
|
|
|
+ $attachments['#attached']['drupalSettings']['edlp_corpus']['random_link_title'] = t('Shuffle the selection');
|
|
|
}
|
|
|
|
|
|
|