txt

ECA.php
// web/modules/contrib/eca/src/Entity/Eca.php (simplified excerpt)

protected function isValidationDisabled(): bool {
  return $this->request()->query->get('eca_validation', '') === 'off';
}

public function getPluginCollections(): array {
  if ($this->isValidationDisabled()) {
    return [];
  }
  // Otherwise every referenced event/condition/action plugin is
  // instantiated here, throwing PluginNotFoundException if one
  // of them no longer exists.
  ...
}
hint.txt
# Delete URL — load this directly, don't click through from a listing page
/admin/config/workflow/eca/{eca_id}/delete?eca_validation=off
downcastArray.php
$array = [
  'key_one' => 'one',
  'key_two' => 'two',
  'key_three' => 'three',
];

// Downcast associated array to indicated array with only keys.
array_keys($array);

// Downcast associated array to indicated array with only values.
array_values($array);
ExampleOutcome.txt
Outcome array_keys():
$array = [
  [0] = 'key_one',
  [1] = 'key_two',
  [2] = 'key_three',
];

Outcome array_values():
$array = [
  [0] = 'one',
  [1] = 'two',
  [2] = 'three',
];
04.04.2024 | Lothar Ferreira Neumann

Downcast an array.