/**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->enableViewsTestModule();
 }
예제 #2
0
 /**
  * {@inheritdoc}
  */
 protected function viewsData()
 {
     $data = parent::viewsData();
     $data['views_test_data']['field_form_button_test']['field'] = ['title' => t('Button test'), 'help' => t('Adds a test form button.'), 'id' => 'field_form_button_test'];
     return $data;
 }