You are here

protected function PostRequestTrackingTrait::triggerPostRequestTracking in Entity Usage 8.3

Triggers any post-request tracking operations that were registered.

9 calls to PostRequestTrackingTrait::triggerPostRequestTracking()
ConfigurationFormTest::testConfigForm in tests/src/FunctionalJavascript/ConfigurationFormTest.php
Tests the config form.
DynamicEntityReferenceTest::testDynamicEntityReferenceTracking in tests/src/FunctionalJavascript/DynamicEntityReferenceTest.php
Tests the tracking of entities through dynamic entity reference fields.
EmbeddedContentTest::testEntityEmbed in tests/src/FunctionalJavascript/EmbeddedContentTest.php
Tests the Entity Embed parsing.
EmbeddedContentTest::testHtmlLink in tests/src/FunctionalJavascript/EmbeddedContentTest.php
Tests the HtmlLink parsing.
EmbeddedContentTest::testLinkIt in tests/src/FunctionalJavascript/EmbeddedContentTest.php
Tests the LinkIt parsing.

... See full list

File

tests/src/Traits/PostRequestTrackingTrait.php, line 13

Class

PostRequestTrackingTrait
Provides a helper method for triggering post-request tracking.

Namespace

Drupal\Tests\entity_usage\Traits

Code

protected function triggerPostRequestTracking() {
  \Drupal::getContainer()
    ->get('entity_usage.entity_update_manager')
    ->destruct();
}