SHARE
TWEET

Untitled

a guest Sep 13th, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $form['btn_services_geo_add_more_wrapper']['btn_services_geo_add_more'] = [
  2.         '#type' => 'button',
  3.         '#value' =>  $this->t('More ...'),
  4.         '#ajax' => [
  5.             'callback' => [$this, 'servicesGeoAddMore'],
  6.             'event' => 'mouseup',
  7.             'progress' => [
  8.                 'type' => 'none',
  9.             ]
  10.         ]
  11.     ];
  12.  
  13.     $form['btn_services_by_place_add_more_wrapper']['btn_services_by_place_add_more'] = [
  14.         '#type' => 'button',
  15.         '#value' =>  $this->t('More ...'),
  16.         '#ajax' => [
  17.             'callback' => [$this, 'servicesByPlaceAddMore'],
  18.             'event' => 'mouseup',
  19.             'progress' => [
  20.                 'type' => 'none',
  21.             ]
  22.         ]
  23.     ];
RAW Paste Data
Top