public function UrlsProperty::buildConfigurationForm in Search API Field Map 4.x
Same name and namespace in other branches
- 8.3 src/Plugin/search_api/processor/Property/UrlsProperty.php \Drupal\search_api_field_map\Plugin\search_api\processor\Property\UrlsProperty::buildConfigurationForm()
- 8 src/Plugin/search_api/processor/Property/UrlsProperty.php \Drupal\search_api_field_map\Plugin\search_api\processor\Property\UrlsProperty::buildConfigurationForm()
- 8.2 src/Plugin/search_api/processor/Property/UrlsProperty.php \Drupal\search_api_field_map\Plugin\search_api\processor\Property\UrlsProperty::buildConfigurationForm()
File
- src/
Plugin/ search_api/ processor/ Property/ UrlsProperty.php, line 32
Class
- UrlsProperty
- Defines a "Urls" property.
Namespace
Drupal\search_api_field_map\Plugin\search_api\processor\PropertyCode
public function buildConfigurationForm(FieldInterface $field, array $form, FormStateInterface $form_state) {
$form['#attached']['library'][] = 'search_api/drupal.search_api.admin_css';
$form['#tree'] = TRUE;
$form['field_data'] = [
'#type' => 'item',
'#title' => $this
->t('URLs'),
'#description' => $this
->t('URLs pointing to this node on all sites containing.'),
];
return $form;
}