1 EntityReferenceSelectionHandler.inc public static EntityReferenceSelectionHandlerBroken::settingsForm($field, $instance)

Generate a settings form for this handler.

Overrides EntityReferenceSelectionHandlerInterface::settingsForm

File

core/modules/entityreference/plugins/selection/EntityReferenceSelectionHandler.inc, line 86
Abstraction of the selection logic of an entity reference field.

Class

EntityReferenceSelectionHandlerBroken
A null implementation of EntityReferenceSelectionHandler.

Code

public static function settingsForm($field, $instance) {
  $form['selection_handler'] = array(
    '#markup' => t('The selected selection handler is broken.'),
  );
  return $form;
}