public function SchemaDateBase::getForm in Schema.org Metatag 7
Generate a form element for this meta tag.
Overrides SchemaNameBase::getForm
File
- src/
SchemaDateBase.php, line 11
Class
- SchemaDateBase
- Provides a plugin for the 'schema_date_base' meta tag.
Code
public function getForm(array $options = []) {
$form = parent::getForm($options);
$form['value']['#description'] .= ' ' . $this
->t('Use a token like [node:created:html_datetime].');
return $form;
}