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

Resets the list of seen IDs.

5 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
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.

File

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

Class

Html
Provides DOMDocument helpers for parsing and serializing HTML strings.

Namespace

Drupal\Component\Utility

Code

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