Request key for AJAX forms that submit to the form's original route.
This constant is distinct from a "drupal_ajax" value for \Drupal\Core\EventSubscriber\MainContentViewSubscriber::WRAPPER_FORMAT, because that one is set for all AJAX submissions, including ones with dedicated routes for which self::buildForm() should not exit early via a \Drupal\Core\Form\FormAjaxException.
@todo Re-evaluate the need for this constant after https://www.drupal.org/node/2502785 and https://www.drupal.org/node/2503429.
const AJAX_FORM_REQUEST = 'ajax_form';
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.