public function GeofieldProximitySourceBase::buildOptionsForm in Geofield 8
Builds the specific form elements for the geofield proximity plugin.
Parameters
array $form: The form element to build.
\Drupal\Core\Form\FormStateInterface $form_state: The form state.
array $options_parents: The values parents.
bool $is_exposed: The check/differentiate if it is part of an exposed form.
Overrides GeofieldProximitySourceInterface::buildOptionsForm
2 methods override GeofieldProximitySourceBase::buildOptionsForm()
- ManualOriginDefault::buildOptionsForm in src/
Plugin/ GeofieldProximitySource/ ManualOriginDefault.php - Builds the specific form elements for the geofield proximity plugin.
- OriginFromProximityFilter::buildOptionsForm in src/
Plugin/ GeofieldProximitySource/ OriginFromProximityFilter.php - Builds the specific form elements for the geofield proximity plugin.
File
- src/
Plugin/ GeofieldProximitySourceBase.php, line 58
Class
- GeofieldProximitySourceBase
- Base class for Geofield Proximity Source plugins.
Namespace
Drupal\geofield\PluginCode
public function buildOptionsForm(array &$form, FormStateInterface $form_state, array $options_parents, $is_exposed = FALSE) {
}