This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Definition of Drupal\views\Tests\Handler\HandlerAliasTest. | |
*/ | |
namespace Drupal\views\Tests\Handler; | |
use Drupal\views\Tests\ViewTestBase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Definition of Drupal\views\Tests\DefaultViewsTest. | |
*/ | |
namespace Drupal\views\Tests; | |
use Drupal\simpletest\WebTestBase; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Drupal/views/ViewStorageController.php b/lib/Drupal/views/ViewStorageController.php | |
index 744157c..43215ba 100644 | |
--- a/lib/Drupal/views/ViewStorageController.php | |
+++ b/lib/Drupal/views/ViewStorageController.php | |
@@ -56,87 +56,12 @@ class ViewStorageController extends ConfigStorageController { | |
} | |
/** | |
- * Overrides Drupal\config\ConfigStorageController::save(). | |
- * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (isset($this->current_display) && !$status) { | |
return TRUE; | |
} | |
// Unset the display handlers and current dispaly. | |
elseif($status) { | |
unset($this->current_display, $this->display_handler, $this->displayHandlers); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Storage | |
base_table node | |
name frontpage | |
description Emulates the default Drupal front page; you may set the default home page path to this view to make it your front page. | |
tag default | |
human_name Front page | |
core 8 | |
api_version 3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Views/aggregator/Plugin/views/argument/CategoryCid.php b/lib/Views/aggregator/Plugin/views/argument/CategoryCid.php | |
index 2be3fdd..06c16f5 100644 | |
--- a/lib/Views/aggregator/Plugin/views/argument/CategoryCid.php | |
+++ b/lib/Views/aggregator/Plugin/views/argument/CategoryCid.php | |
@@ -28,10 +28,7 @@ class CategoryCid extends Numeric { | |
function title_query() { | |
$titles = array(); | |
- $query = db_select('aggregator_category', 'c'); | |
- $query->addField('c', 'title'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Drush views execute command. | |
*/ | |
function drush_views_execute($view_name, $display_id = 'default') { | |
$args = func_get_args(); | |
$view_args = array(); | |
// If it's more than 2, we have arguments. A display has to be specified in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$var = 'a'; | |
switch ($var) { | |
case 'a': | |
if (FALSE) { | |
dpm('a'); | |
} | |
case 'b': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/core/modules/views/lib/Drupal/views/Tests/UI/PreviewTest.php b/core/modules/views/lib/Drupal/views/Tests/UI/PreviewTest.php | |
new file mode 100644 | |
index 0000000..ee47782 | |
--- /dev/null | |
+++ b/core/modules/views/lib/Drupal/views/Tests/UI/PreviewTest.php | |
@@ -0,0 +1,33 @@ | |
+<?php | |
+ | |
+/** | |
+ * @file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$items = array('a', array( | |
'data' => 'b', | |
'children' => array('c', 'd'), | |
), 'e'); | |
dpm(theme('item_list', array('items' => $items))); |