FormAjaxSubscriberTest::$messenger

Same name and namespace in other branches
  1. 8.9.x core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php \Drupal\Tests\Core\Form\EventSubscriber\FormAjaxSubscriberTest::messenger
  2. 10 core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php \Drupal\Tests\Core\Form\EventSubscriber\FormAjaxSubscriberTest::messenger
  3. 11.x core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php \Drupal\Tests\Core\Form\EventSubscriber\FormAjaxSubscriberTest::messenger

The mocked messenger.

Type: \Drupal\Core\Messenger\MessengerInterface|\PHPUnit\Framework\MockObject\MockObject

File

core/tests/Drupal/Tests/Core/Form/EventSubscriber/FormAjaxSubscriberTest.php, line 52

Class

FormAjaxSubscriberTest
@coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21Form%21EventSubscriber%21FormAjaxSubscriber.php/class/FormAjaxSubscriber/9" title="Wraps AJAX form submissions that are triggered via an exception." class="local">\Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber</a> @group EventSubscriber

Namespace

Drupal\Tests\Core\Form\EventSubscriber

Code

protected $messenger;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.