You are here

private function MetaNameBase::tidy in Metatag 8

Make the string presentable.

Parameters

string $value: The raw string to process.

Return value

string The meta tag value after processing.

1 call to MetaNameBase::tidy()
MetaNameBase::output in src/Plugin/metatag/Tag/MetaNameBase.php
Generate the HTML tag output for a meta tag.

File

src/Plugin/metatag/Tag/MetaNameBase.php, line 325

Class

MetaNameBase
Each meta tag will extend this base.

Namespace

Drupal\metatag\Plugin\metatag\Tag

Code

private function tidy($value) {
  return trim($value);
}