You are here

public static function SelectionBroken::settingsForm in Entity reference 8

Generate a settings form for this handler.

Overrides SelectionInterface::settingsForm

File

lib/Drupal/entityreference/Plugin/Type/Selection/SelectionBroken.php, line 29
Definition of Drupal\entityreference\Plugin\entityreference\selection\SelectionBroken.

Class

SelectionBroken
A null implementation of EntityReference_SelectionHandler.

Namespace

Drupal\entityreference\Plugin\Type\Selection

Code

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