protected function ContentHubStatusReportTest::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.
File
- tests/
src/ Kernel/ ContentHubStatusReportTest.php, line 219
Class
- ContentHubStatusReportTest
- Tests the Content Hub settings form.
Namespace
Drupal\Tests\acquia_contenthub\KernelCode
protected function getMarkupValue($element) : string {
return strip_tags((string) $element);
}