Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
i think this code !isset($definitions) is not good it must be empty($definitions)
public function getDefinitions() {
$definitions = $this->getCachedDefinitions();
if (!isset($definitions)) {
$definitions = $this->findDefinitions();
$this->setCachedDefinitions($definitions);
}
return $definitions;
}
Comments
Comment #2
lazzyvn CreditAttribution: lazzyvn commentedComment #3
lazzyvn CreditAttribution: lazzyvn commentedComment #4
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commentedCan you explain a bit more the issue? The code you mention is part of drupal core. So for that part, you should add an issue on the drupal core queue.
Comment #5
nils.destoop CreditAttribution: nils.destoop as a volunteer and at Wunder commented