You are here

protected function ContentHubStatusDetailsTest::getMarkupValue in Acquia Content Hub 8.2

Strips html tags and converts to string.

Parameters

mixed $element: Value to convert.

Return value

string String value without html tags.

1 call to ContentHubStatusDetailsTest::getMarkupValue()
ContentHubStatusDetailsTest::testContentHubStatusReportDetails in tests/src/Kernel/ContentHubStatusDetailsTest.php
Tests status report details build.

File

tests/src/Kernel/ContentHubStatusDetailsTest.php, line 238

Class

ContentHubStatusDetailsTest
Tests the Content Hub settings form.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

protected function getMarkupValue($element) : string {
  return strip_tags((string) $element);
}