You are here

public function SchemaPersonBirthDate::form in Schema.org Metatag 8

Generate a form element for this meta tag.

We need multiple values, so create a tree of values and stored the serialized value as a string.

Overrides SchemaDateBase::form

File

schema_person/src/Plugin/metatag/Tag/SchemaPersonBirthDate.php, line 34

Class

SchemaPersonBirthDate
Provides a plugin for the 'schema_person_birth_date' meta tag.

Namespace

Drupal\schema_person\Plugin\metatag\Tag

Code

public function form(array $element = []) {
  $form = parent::form($element);
  return $form;
}