You are here

public function BreakpointFormTrait::moreBreakpointsJs in Doubleclick for Publishers (DFP) 8

Ajax callback for adding breakpoints to the breakpoint form.

File

src/Form/BreakpointFormTrait.php, line 88
Contains \Drupal\dfp\Form\BreakpointFormTrait.

Class

BreakpointFormTrait
Provides form for adding breakpoints to a DFP tag.

Namespace

Drupal\dfp\Form

Code

public function moreBreakpointsJs(array $form, FormStateInterface $form_state) {
  return $form['breakpoint_settings']['breakpoints'];
}