Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
In a view filter plugin, I'd like to go through the view results to retrieve certain field values to query an API and then exclude IDs that don't meet the conditions. I don't know how to run the current view and retrieve the results.
Hey, so i have this multistep form where i need to validate inputs on change and set the class of the buttons to the validation state in order to give a respective color to it. My trouble starts when i navigate from step to step as it looses all the configuration done by the callback validate input...
<?php
namespace Drupal\myModule\Form;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Form\FormBase;