public function PropertyTypeInterface::getVisibility in Schema.org Metatag 8.2
Construct the visibility selector for a set of values.
Parameters
array $input_values: The array of input values used by form().
Return value
array A form array suitable for populating "#states" for a form element.
1 method overrides PropertyTypeInterface::getVisibility()
- PropertyTypeBase::getVisibility in src/
Plugin/ schema_metatag/ PropertyTypeBase.php - Construct the visibility selector for a set of values.
File
- src/
Plugin/ schema_metatag/ PropertyTypeInterface.php, line 175
Class
- PropertyTypeInterface
- Defines an interface for property type plugins.
Namespace
Drupal\schema_metatag\Plugin\schema_metatagCode
public function getVisibility(array $input_values);