You are here

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

Generate a form element for this meta tag.

Overrides SchemaActionBase::form

File

schema_web_site/src/Plugin/metatag/Tag/SchemaWebSitePotentialAction.php, line 32

Class

SchemaWebSitePotentialAction
Provides a plugin for the 'schema_web_site_potential_action' meta tag.

Namespace

Drupal\schema_web_site\Plugin\metatag\Tag

Code

public function form(array $element = []) {
  $this->actions = [
    'Action',
    'SearchAction',
  ];
  $form = parent::form($element);
  return $form;
}