You are here

private function ViewsXMLBackendBase::setUpViewsXMLBackendVariables in Views XML Backend 8

Provides settings used for creating and managing Views XML Backend.

Return value

array An array of settings.

2 calls to ViewsXMLBackendBase::setUpViewsXMLBackendVariables()
ViewsXMLBackendBase::addXMLBackendView in src/Tests/ViewsXMLBackendBase.php
Adds and verifies the Views XML Backend option during new Views creation.
ViewsXMLBackendBase::setUpViewsVariables in src/Tests/ViewsXMLBackendBase.php
Provides variables used generally for creating and managing Views.

File

src/Tests/ViewsXMLBackendBase.php, line 141
Contains \Drupal\views_xml_backend\Tests\ViewsXMLBackendBase.

Class

ViewsXMLBackendBase
Provides supporting functions for testing the Views XML Backend module.

Namespace

Drupal\views_xml_backend\Tests

Code

private function setUpViewsXMLBackendVariables() {
  return $settings = [
    'field_id' => 'edit-show-wizard-key',
    'field_name' => 'show[wizard_key]',
    'value' => 'standard:views_xml_backend',
    'file' => 'https://updates.drupal.org/release-history/views/7.x',
  ];
}