Commit 7552e03c authored by aspilicious's avatar aspilicious Committed by tim.plunkett

addtional fixes for the test plugins

parent ec4c2322
......@@ -26,7 +26,7 @@ public static function getInfo() {
public function setUp() {
parent::setUp();
config('views.settings')->set('views_localization_plugin', 'localization_test')->save();
config('views.settings')->set('views_localization_plugin', 'test_localization')->save();
// Reset the plugin data.
views_fetch_plugin_data(NULL, NULL, TRUE);
$this->strings = array('Master1', 'Apply1', 'Sort By1', 'Asc1', 'Desc1', 'more1', 'Reset1', 'Offset1', 'Master1', 'title1', 'Items per page1', 'fieldlabel1', 'filterlabel1');
......
......@@ -7,6 +7,7 @@
namespace Drupal\views_test\Plugin\views\access;
use Drupal\Core\Annotation\Plugin;
use Drupal\views\Plugin\views\access\AccessPluginBase;
/**
......@@ -14,8 +15,8 @@
*
* @Plugin(
* plugin_id = "test_dynamic",
* title = @Translation("Dynamic test access plugin."),
* help = @Translation("Provides a dynamic test access plugin.")
* title = "Dynamic test access plugin.",
* help = "Provides a dynamic test access plugin."
* )
*/
class DynamicTest extends AccessPluginBase {
......
......@@ -7,6 +7,7 @@
namespace Drupal\views_test\Plugin\views\access;
use Drupal\Core\Annotation\Plugin;
use Drupal\views\Plugin\views\access\AccessPluginBase;
/**
......@@ -14,8 +15,8 @@
*
* @Plugin(
* plugin_id = "test_static",
* title = @Translation("Static test access plugin"),
* help = @Translation("Provides a static test access plugin.")
* title = "Static test access plugin",
* help = "Provides a static test access plugin."
* )
*/
class StaticTest extends AccessPluginBase {
......
......@@ -7,6 +7,7 @@
namespace Drupal\views_test\Plugin\views\localization;
use Drupal\Core\Annotation\Plugin;
use Drupal\views\Plugin\views\localization\LocalizationPluginBase;
/**
......@@ -14,8 +15,8 @@
*
* @Plugin(
* plugin_id = "test_localization",
* title = @Translation("Test."),
* help = @Translation("This is a test description."),
* title = "Test.",
* help = "This is a test description.",
* no_uid = TRUE
* )
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment