updated custom module compatibility for d10
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
name: Popsu Programme
|
||||
type: module
|
||||
description: misc plugins for popsu's programmes.
|
||||
core_version_requirement: ^8.8 || ^9
|
||||
core_version_requirement: ^8.8 || ^9 || ^10
|
||||
package: Popsu
|
||||
dependencies:
|
||||
|
@@ -43,7 +43,8 @@ class ComputedProjetsReferences extends EntityReferenceFieldItemList
|
||||
$query = $storage->getQuery()
|
||||
->condition('status', 1)
|
||||
->condition('type', 'projet')
|
||||
->condition('field_programme', $entity->id());
|
||||
->condition('field_programme', $entity->id())
|
||||
->accessCheck(TRUE);
|
||||
$results = $query->execute();
|
||||
if ($results) {
|
||||
$nids = array_values($results);
|
||||
|
@@ -43,7 +43,8 @@ class ComputedThemesReferences extends EntityReferenceFieldItemList
|
||||
$query = $storage->getQuery()
|
||||
->condition('status', 1)
|
||||
->condition('type', 'theme')
|
||||
->condition('field_programme', $entity->id());
|
||||
->condition('field_programme', $entity->id())
|
||||
->accessCheck(TRUE);
|
||||
$results = $query->execute();
|
||||
if ($results) {
|
||||
$nids = array_values($results);
|
||||
|
Reference in New Issue
Block a user