going on with home display

This commit is contained in:
2019-07-16 10:29:30 +02:00
parent cb3eb2c2fa
commit 68a7084deb
8 changed files with 358 additions and 148 deletions

View File

@@ -38,7 +38,7 @@ class ComputedArticlesReferences extends EntityReferenceFieldItemList
$query = \Drupal::entityQuery('node')
->condition('status', 1)
->sort('created', 'DESC')
->range(0,5)
->range(0,6)
->condition('type', 'article');
$nids = $query->execute();
foreach ($nids as $key => $nid) {