You are here

public function paragraphs_handler_relationship::option_definition in Paragraphs 7

Returns extra option definitions for the form.

Return value

array An array of option definitions.

Overrides views_handler_relationship::option_definition

File

views/paragraphs_handler_relationship.inc, line 14

Class

paragraphs_handler_relationship
Provide relationship handler for paragraphs fields.

Code

public function option_definition() {
  $options = parent::option_definition();
  $options['delta'] = array(
    'default' => -1,
  );
  return $options;
}