public function MaestroEngineTaskInterface::performValidityCheck in Maestro 3.x
Same name and namespace in other branches
- 8.2 src/MaestroEngineTaskInterface.php \Drupal\maestro\MaestroEngineTaskInterface::performValidityCheck()
Lets the task perform validation on itself. If the task is missing any internal requirements, it can flag itself as having an issue. Return array MUST be in the format of array( 'taskID' => the task machine name, 'taskLabel' => the human readable label for the task, 'reason' => the reason for the failure )
Parameters
array $validation_failure_tasks: The array of other validation failures.
array $validation_information_tasks: The array of informational messages.
array $task: The passed-in fully-loaded task from the template (array)
14 methods override MaestroEngineTaskInterface::performValidityCheck()
- MaestroAndTask::performValidityCheck in src/
Plugin/ EngineTasks/ MaestroAndTask.php - Lets the task perform validation on itself. If the task is missing any internal requirements, it can flag itself as having an issue. Return array MUST be in the format of array( 'taskID' => the task machine name, 'taskLabel'…
- MaestroBatchFunctionTask::performValidityCheck in src/
Plugin/ EngineTasks/ MaestroBatchFunctionTask.php - Lets the task perform validation on itself. If the task is missing any internal requirements, it can flag itself as having an issue. Return array MUST be in the format of array( 'taskID' => the task machine name, 'taskLabel'…
- MaestroContentTypeTask::performValidityCheck in src/
Plugin/ EngineTasks/ MaestroContentTypeTask.php - Lets the task perform validation on itself. If the task is missing any internal requirements, it can flag itself as having an issue. Return array MUST be in the format of array( 'taskID' => the task machine name, 'taskLabel'…
- MaestroEndTask::performValidityCheck in src/
Plugin/ EngineTasks/ MaestroEndTask.php - Lets the task perform validation on itself. If the task is missing any internal requirements, it can flag itself as having an issue. Return array MUST be in the format of array( 'taskID' => the task machine name, 'taskLabel'…
- MaestroIfTask::performValidityCheck in src/
Plugin/ EngineTasks/ MaestroIfTask.php - Lets the task perform validation on itself. If the task is missing any internal requirements, it can flag itself as having an issue. Return array MUST be in the format of array( 'taskID' => the task machine name, 'taskLabel'…
File
- src/
MaestroEngineTaskInterface.php, line 102
Class
- MaestroEngineTaskInterface
- The Maestro Engine Task Interface.
Namespace
Drupal\maestroCode
public function performValidityCheck(array &$validation_failure_tasks, array &$validation_information_tasks, array $task);