SchemaMainEntityOfPageBase.php in Schema.org Metatag 8
File
src/Plugin/metatag/Tag/SchemaMainEntityOfPageBase.php
View source
<?php
namespace Drupal\schema_metatag\Plugin\metatag\Tag;
class SchemaMainEntityOfPageBase extends SchemaNameBase {
public function form(array $element = []) {
$form = parent::form($element);
$form['#description'] = $this
->t("If this is the main content of the page, provide url of the page. i.e. '[current-page:url]'. Only one object on each page should be marked as the main entity of the page.");
return $form;
}
}