You are here

public function TargetingFormTrait::moreTargetsJs in Doubleclick for Publishers (DFP) 8

Ajax callback for adding targets to the targeting form.

File

src/Form/TargetingFormTrait.php, line 93
Contains \Drupal\dfp\Form\TargetingFormTrait.

Class

TargetingFormTrait
Adds a form for saving DFP targeting information.

Namespace

Drupal\dfp\Form

Code

public function moreTargetsJs(array $form, FormStateInterface $form_state) {
  return $form['targeting_settings']['targeting'];
}