refactored home blabla article list

This commit is contained in:
2020-12-27 12:05:34 +01:00
parent a2773b1b20
commit 1ae54233af
8 changed files with 247 additions and 45 deletions

View File

@@ -39,7 +39,7 @@ class ComputedArticlesReferences extends EntityReferenceFieldItemList
->condition('status', 1)
->sort('created', 'DESC')
->exists('field_visuel')
->range(0,6)
->range(0,12)
->condition('type', 'article');
$nids = $query->execute();
foreach ($nids as $key => $nid) {