You are here

public static function Html::resetSeenIds in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Utility/Html.php \Drupal\Component\Utility\Html::resetSeenIds()

Resets the list of seen IDs.

6 calls to Html::resetSeenIds()
BlockViewBuilderTest::testBasicRendering in core/modules/block/tests/src/Kernel/BlockViewBuilderTest.php
Tests the rendering of blocks.
FormBuilder::rebuildForm in core/lib/Drupal/Core/Form/FormBuilder.php
Constructs a new $form from the information in $form_state.
FormTestBase::tearDown in core/tests/Drupal/Tests/Core/Form/FormTestBase.php
HtmlTest::testHtmlGetUniqueId in core/tests/Drupal/Tests/Component/Utility/HtmlTest.php
Tests the Html::getUniqueId() method.
ViewsFormBase::getForm in core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php
Creates a new instance of this form.

... See full list

File

core/lib/Drupal/Component/Utility/Html.php, line 237

Class

Html
Provides DOMDocument helpers for parsing and serializing HTML strings.

Namespace

Drupal\Component\Utility

Code

public static function resetSeenIds() {
  static::$seenIds = NULL;
}