Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
304
Merge Requests
304
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
20378285
Commit
20378285
authored
Jul 29, 2012
by
dawehner
Committed by
tim.plunkett
Oct 21, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce a temporary Views vendor to integrate core modules into core.
parent
3d48f0aa
Changes
139
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
139 changed files
with
269 additions
and
163 deletions
+269
-163
lib/Drupal/search/ViewsSearchQuery.php
lib/Drupal/search/ViewsSearchQuery.php
+43
-0
lib/Views/aggregator/Plugin/views/argument/CategoryCid.php
lib/Views/aggregator/Plugin/views/argument/CategoryCid.php
+1
-1
lib/Views/aggregator/Plugin/views/argument/Fid.php
lib/Views/aggregator/Plugin/views/argument/Fid.php
+1
-1
lib/Views/aggregator/Plugin/views/argument/Iid.php
lib/Views/aggregator/Plugin/views/argument/Iid.php
+1
-1
lib/Views/aggregator/Plugin/views/field/Category.php
lib/Views/aggregator/Plugin/views/field/Category.php
+1
-1
lib/Views/aggregator/Plugin/views/field/TitleLink.php
lib/Views/aggregator/Plugin/views/field/TitleLink.php
+1
-1
lib/Views/aggregator/Plugin/views/field/Xss.php
lib/Views/aggregator/Plugin/views/field/Xss.php
+1
-1
lib/Views/aggregator/Plugin/views/filter/CategoryCid.php
lib/Views/aggregator/Plugin/views/filter/CategoryCid.php
+1
-1
lib/Views/aggregator/Plugin/views/row/Rss.php
lib/Views/aggregator/Plugin/views/row/Rss.php
+1
-1
lib/Views/book/Plugin/views/argument_default/Root.php
lib/Views/book/Plugin/views/argument_default/Root.php
+1
-1
lib/Views/comment/Plugin/views/argument/UserUid.php
lib/Views/comment/Plugin/views/argument/UserUid.php
+1
-1
lib/Views/comment/Plugin/views/field/Comment.php
lib/Views/comment/Plugin/views/field/Comment.php
+1
-1
lib/Views/comment/Plugin/views/field/Depth.php
lib/Views/comment/Plugin/views/field/Depth.php
+2
-2
lib/Views/comment/Plugin/views/field/LInkDelete.php
lib/Views/comment/Plugin/views/field/LInkDelete.php
+1
-1
lib/Views/comment/Plugin/views/field/LastTimestamp.php
lib/Views/comment/Plugin/views/field/LastTimestamp.php
+1
-1
lib/Views/comment/Plugin/views/field/Link.php
lib/Views/comment/Plugin/views/field/Link.php
+2
-1
lib/Views/comment/Plugin/views/field/LinkApprove.php
lib/Views/comment/Plugin/views/field/LinkApprove.php
+2
-2
lib/Views/comment/Plugin/views/field/LinkEdit.php
lib/Views/comment/Plugin/views/field/LinkEdit.php
+1
-1
lib/Views/comment/Plugin/views/field/LinkReply.php
lib/Views/comment/Plugin/views/field/LinkReply.php
+1
-1
lib/Views/comment/Plugin/views/field/NcsLastCommentName.php
lib/Views/comment/Plugin/views/field/NcsLastCommentName.php
+1
-1
lib/Views/comment/Plugin/views/field/NcsLastUpdated.php
lib/Views/comment/Plugin/views/field/NcsLastUpdated.php
+1
-1
lib/Views/comment/Plugin/views/field/NodeComment.php
lib/Views/comment/Plugin/views/field/NodeComment.php
+1
-1
lib/Views/comment/Plugin/views/field/NodeLink.php
lib/Views/comment/Plugin/views/field/NodeLink.php
+1
-1
lib/Views/comment/Plugin/views/field/NodeNewComments.php
lib/Views/comment/Plugin/views/field/NodeNewComments.php
+1
-1
lib/Views/comment/Plugin/views/field/Username.php
lib/Views/comment/Plugin/views/field/Username.php
+1
-1
lib/Views/comment/Plugin/views/filter/NcsLastUpdated.php
lib/Views/comment/Plugin/views/filter/NcsLastUpdated.php
+1
-1
lib/Views/comment/Plugin/views/filter/NodeComment.php
lib/Views/comment/Plugin/views/filter/NodeComment.php
+1
-1
lib/Views/comment/Plugin/views/filter/UserUid.php
lib/Views/comment/Plugin/views/filter/UserUid.php
+1
-1
lib/Views/comment/Plugin/views/row/Rss.php
lib/Views/comment/Plugin/views/row/Rss.php
+2
-2
lib/Views/comment/Plugin/views/row/View.php
lib/Views/comment/Plugin/views/row/View.php
+2
-2
lib/Views/comment/Plugin/views/sort/NcsLastCommentName.php
lib/Views/comment/Plugin/views/sort/NcsLastCommentName.php
+1
-1
lib/Views/comment/Plugin/views/sort/NcsLastUpdated.php
lib/Views/comment/Plugin/views/sort/NcsLastUpdated.php
+2
-2
lib/Views/comment/Plugin/views/sort/Thread.php
lib/Views/comment/Plugin/views/sort/Thread.php
+2
-2
lib/Views/contact/Plugin/views/field/ContactLink.php
lib/Views/contact/Plugin/views/field/ContactLink.php
+2
-2
lib/Views/field/Plugin/views/argument/FieldList.php
lib/Views/field/Plugin/views/argument/FieldList.php
+1
-1
lib/Views/field/Plugin/views/argument/ListString.php
lib/Views/field/Plugin/views/argument/ListString.php
+1
-1
lib/Views/field/Plugin/views/field/Field.php
lib/Views/field/Plugin/views/field/Field.php
+1
-1
lib/Views/field/Plugin/views/filter/FieldList.php
lib/Views/field/Plugin/views/filter/FieldList.php
+1
-1
lib/Views/field/Plugin/views/relationship/EntityReverse.php
lib/Views/field/Plugin/views/relationship/EntityReverse.php
+1
-1
lib/Views/filter/Plugin/views/field/FormatName.php
lib/Views/filter/Plugin/views/field/FormatName.php
+1
-1
lib/Views/locale/Plugin/views/argument/Group.php
lib/Views/locale/Plugin/views/argument/Group.php
+1
-1
lib/Views/locale/Plugin/views/argument/Language.php
lib/Views/locale/Plugin/views/argument/Language.php
+1
-1
lib/Views/locale/Plugin/views/field/Group.php
lib/Views/locale/Plugin/views/field/Group.php
+1
-1
lib/Views/locale/Plugin/views/field/Language.php
lib/Views/locale/Plugin/views/field/Language.php
+1
-1
lib/Views/locale/Plugin/views/field/LinkEdit.php
lib/Views/locale/Plugin/views/field/LinkEdit.php
+1
-1
lib/Views/locale/Plugin/views/field/NodeLanguage.php
lib/Views/locale/Plugin/views/field/NodeLanguage.php
+2
-2
lib/Views/locale/Plugin/views/filter/Group.php
lib/Views/locale/Plugin/views/filter/Group.php
+1
-1
lib/Views/locale/Plugin/views/filter/Language.php
lib/Views/locale/Plugin/views/filter/Language.php
+7
-1
lib/Views/locale/Plugin/views/filter/NodeLanguage.php
lib/Views/locale/Plugin/views/filter/NodeLanguage.php
+1
-1
lib/Views/locale/Plugin/views/filter/Version.php
lib/Views/locale/Plugin/views/filter/Version.php
+1
-1
lib/Views/node/Plugin/views/argument/CreatedDay.php
lib/Views/node/Plugin/views/argument/CreatedDay.php
+1
-1
lib/Views/node/Plugin/views/argument/CreatedFullDate.php
lib/Views/node/Plugin/views/argument/CreatedFullDate.php
+1
-1
lib/Views/node/Plugin/views/argument/CreatedMonth.php
lib/Views/node/Plugin/views/argument/CreatedMonth.php
+1
-1
lib/Views/node/Plugin/views/argument/CreatedWeek.php
lib/Views/node/Plugin/views/argument/CreatedWeek.php
+1
-1
lib/Views/node/Plugin/views/argument/CreatedYear.php
lib/Views/node/Plugin/views/argument/CreatedYear.php
+1
-1
lib/Views/node/Plugin/views/argument/CreatedYearMonth.php
lib/Views/node/Plugin/views/argument/CreatedYearMonth.php
+1
-1
lib/Views/node/Plugin/views/argument/Language.php
lib/Views/node/Plugin/views/argument/Language.php
+1
-1
lib/Views/node/Plugin/views/argument/Nid.php
lib/Views/node/Plugin/views/argument/Nid.php
+1
-1
lib/Views/node/Plugin/views/argument/Type.php
lib/Views/node/Plugin/views/argument/Type.php
+1
-1
lib/Views/node/Plugin/views/argument/UidRevision.php
lib/Views/node/Plugin/views/argument/UidRevision.php
+2
-2
lib/Views/node/Plugin/views/argument/Vid.php
lib/Views/node/Plugin/views/argument/Vid.php
+1
-1
lib/Views/node/Plugin/views/argument_default/Node.php
lib/Views/node/Plugin/views/argument_default/Node.php
+1
-1
lib/Views/node/Plugin/views/argument_validator/Node.php
lib/Views/node/Plugin/views/argument_validator/Node.php
+1
-1
lib/Views/node/Plugin/views/field/HistoryUserTimestamp.php
lib/Views/node/Plugin/views/field/HistoryUserTimestamp.php
+8
-2
lib/Views/node/Plugin/views/field/Link.php
lib/Views/node/Plugin/views/field/Link.php
+1
-1
lib/Views/node/Plugin/views/field/LinkDelete.php
lib/Views/node/Plugin/views/field/LinkDelete.php
+2
-2
lib/Views/node/Plugin/views/field/LinkEdit.php
lib/Views/node/Plugin/views/field/LinkEdit.php
+2
-2
lib/Views/node/Plugin/views/field/Node.php
lib/Views/node/Plugin/views/field/Node.php
+1
-1
lib/Views/node/Plugin/views/field/Path.php
lib/Views/node/Plugin/views/field/Path.php
+1
-1
lib/Views/node/Plugin/views/field/Revision.php
lib/Views/node/Plugin/views/field/Revision.php
+2
-2
lib/Views/node/Plugin/views/field/RevisionLink.php
lib/Views/node/Plugin/views/field/RevisionLink.php
+2
-2
lib/Views/node/Plugin/views/field/RevisionLinkDelete.php
lib/Views/node/Plugin/views/field/RevisionLinkDelete.php
+2
-2
lib/Views/node/Plugin/views/field/RevisionLinkRevert.php
lib/Views/node/Plugin/views/field/RevisionLinkRevert.php
+2
-2
lib/Views/node/Plugin/views/field/Type.php
lib/Views/node/Plugin/views/field/Type.php
+3
-2
lib/Views/node/Plugin/views/filter/Access.php
lib/Views/node/Plugin/views/filter/Access.php
+2
-1
lib/Views/node/Plugin/views/filter/HistoryUserTimestamp.php
lib/Views/node/Plugin/views/filter/HistoryUserTimestamp.php
+2
-1
lib/Views/node/Plugin/views/filter/Status.php
lib/Views/node/Plugin/views/filter/Status.php
+2
-1
lib/Views/node/Plugin/views/filter/Type.php
lib/Views/node/Plugin/views/filter/Type.php
+2
-1
lib/Views/node/Plugin/views/filter/UidRevision.php
lib/Views/node/Plugin/views/filter/UidRevision.php
+3
-2
lib/Views/node/Plugin/views/row/Rss.php
lib/Views/node/Plugin/views/row/Rss.php
+1
-1
lib/Views/node/Plugin/views/row/View.php
lib/Views/node/Plugin/views/row/View.php
+1
-1
lib/Views/search/Plugin/views/argument/Search.php
lib/Views/search/Plugin/views/argument/Search.php
+10
-1
lib/Views/search/Plugin/views/field/Score.php
lib/Views/search/Plugin/views/field/Score.php
+10
-1
lib/Views/search/Plugin/views/filter/Search.php
lib/Views/search/Plugin/views/filter/Search.php
+11
-42
lib/Views/search/Plugin/views/row/View.php
lib/Views/search/Plugin/views/row/View.php
+8
-1
lib/Views/search/Plugin/views/sort/Score.php
lib/Views/search/Plugin/views/sort/Score.php
+3
-1
lib/Views/statistics/Plugin/views/field/AccesslogPath.php
lib/Views/statistics/Plugin/views/field/AccesslogPath.php
+10
-1
lib/Views/system/Plugin/views/argument/views_handler_argument_file_fid.inc
...Plugin/views/argument/views_handler_argument_file_fid.inc
+0
-0
lib/Views/system/Plugin/views/field/views_handler_field_file.inc
...ws/system/Plugin/views/field/views_handler_field_file.inc
+0
-0
lib/Views/system/Plugin/views/field/views_handler_field_file_extension.inc
...Plugin/views/field/views_handler_field_file_extension.inc
+0
-0
lib/Views/system/Plugin/views/field/views_handler_field_file_filemime.inc
.../Plugin/views/field/views_handler_field_file_filemime.inc
+0
-0
lib/Views/system/Plugin/views/field/views_handler_field_file_status.inc
...em/Plugin/views/field/views_handler_field_file_status.inc
+0
-0
lib/Views/system/Plugin/views/field/views_handler_field_file_uri.inc
...ystem/Plugin/views/field/views_handler_field_file_uri.inc
+0
-0
lib/Views/system/Plugin/views/filter/views_handler_filter_file_status.inc
.../Plugin/views/filter/views_handler_filter_file_status.inc
+0
-0
lib/Views/system/Plugin/views/filter/views_handler_filter_system_type.inc
.../Plugin/views/filter/views_handler_filter_system_type.inc
+0
-0
lib/Views/taxonomy/Plugin/views/argument/views_handler_argument_taxonomy.inc
...Plugin/views/argument/views_handler_argument_taxonomy.inc
+0
-0
lib/Views/taxonomy/Plugin/views/argument/views_handler_argument_term_node_tid.inc
...n/views/argument/views_handler_argument_term_node_tid.inc
+0
-0
lib/Views/taxonomy/Plugin/views/argument/views_handler_argument_term_node_tid_depth.inc
...s/argument/views_handler_argument_term_node_tid_depth.inc
+0
-0
lib/Views/taxonomy/Plugin/views/argument/views_handler_argument_term_node_tid_depth_modifier.inc
...t/views_handler_argument_term_node_tid_depth_modifier.inc
+0
-0
lib/Views/taxonomy/Plugin/views/argument/views_handler_argument_vocabulary_machine_name.inc
...gument/views_handler_argument_vocabulary_machine_name.inc
+0
-0
lib/Views/taxonomy/Plugin/views/argument/views_handler_argument_vocabulary_vid.inc
.../views/argument/views_handler_argument_vocabulary_vid.inc
+0
-0
lib/Views/taxonomy/Plugin/views/argument_default/views_plugin_argument_default_taxonomy_tid.inc
...nt_default/views_plugin_argument_default_taxonomy_tid.inc
+0
-0
lib/Views/taxonomy/Plugin/views/argument_validate/views_plugin_argument_validate_taxonomy_term.inc
...validate/views_plugin_argument_validate_taxonomy_term.inc
+0
-0
lib/Views/taxonomy/Plugin/views/field/views_handler_field_taxonomy.inc
...onomy/Plugin/views/field/views_handler_field_taxonomy.inc
+0
-0
lib/Views/taxonomy/Plugin/views/field/views_handler_field_term_link_edit.inc
...Plugin/views/field/views_handler_field_term_link_edit.inc
+0
-0
lib/Views/taxonomy/Plugin/views/field/views_handler_field_term_node_tid.inc
.../Plugin/views/field/views_handler_field_term_node_tid.inc
+0
-0
lib/Views/taxonomy/Plugin/views/filter/views_handler_filter_term_node_tid.inc
...lugin/views/filter/views_handler_filter_term_node_tid.inc
+0
-0
lib/Views/taxonomy/Plugin/views/filter/views_handler_filter_term_node_tid_depth.inc
...views/filter/views_handler_filter_term_node_tid_depth.inc
+0
-0
lib/Views/taxonomy/Plugin/views/filter/views_handler_filter_vocabulary_machine_name.inc
...s/filter/views_handler_filter_vocabulary_machine_name.inc
+0
-0
lib/Views/taxonomy/Plugin/views/filter/views_handler_filter_vocabulary_vid.inc
...ugin/views/filter/views_handler_filter_vocabulary_vid.inc
+0
-0
lib/Views/taxonomy/Plugin/views/relationship/views_handler_relationship_node_term_data.inc
...elationship/views_handler_relationship_node_term_data.inc
+0
-0
lib/Views/translation/Plugin/views/argument/views_handler_argument_node_tnid.inc
...lugin/views/argument/views_handler_argument_node_tnid.inc
+0
-0
lib/Views/translation/Plugin/views/field/views_handler_field_node_link_translate.inc
...n/views/field/views_handler_field_node_link_translate.inc
+0
-0
lib/Views/translation/Plugin/views/field/views_handler_field_node_translation_link.inc
...views/field/views_handler_field_node_translation_link.inc
+0
-0
lib/Views/translation/Plugin/views/filter/views_handler_filter_node_tnid.inc
...on/Plugin/views/filter/views_handler_filter_node_tnid.inc
+0
-0
lib/Views/translation/Plugin/views/filter/views_handler_filter_node_tnid_child.inc
...gin/views/filter/views_handler_filter_node_tnid_child.inc
+0
-0
lib/Views/translation/Plugin/views/relationship/views_handler_relationship_translation.inc
...s/relationship/views_handler_relationship_translation.inc
+0
-0
lib/Views/user/Plugin/views/argument/views_handler_argument_user_uid.inc
...Plugin/views/argument/views_handler_argument_user_uid.inc
+0
-0
lib/Views/user/Plugin/views/argument/views_handler_argument_users_roles_rid.inc
...views/argument/views_handler_argument_users_roles_rid.inc
+0
-0
lib/Views/user/Plugin/views/argument_default/views_plugin_argument_default_current_user.inc
...nt_default/views_plugin_argument_default_current_user.inc
+0
-0
lib/Views/user/Plugin/views/argument_default/views_plugin_argument_default_user.inc
...s/argument_default/views_plugin_argument_default_user.inc
+0
-0
lib/Views/user/Plugin/views/argument_validate/views_plugin_argument_validate_user.inc
...argument_validate/views_plugin_argument_validate_user.inc
+0
-0
lib/Views/user/Plugin/views/field/Name.php
lib/Views/user/Plugin/views/field/Name.php
+12
-1
lib/Views/user/Plugin/views/field/User.php
lib/Views/user/Plugin/views/field/User.php
+12
-1
lib/Views/user/Plugin/views/field/UserLink.php
lib/Views/user/Plugin/views/field/UserLink.php
+12
-1
lib/Views/user/Plugin/views/field/views_handler_field_user_language.inc
.../Plugin/views/field/views_handler_field_user_language.inc
+1
-1
lib/Views/user/Plugin/views/field/views_handler_field_user_link_cancel.inc
...ugin/views/field/views_handler_field_user_link_cancel.inc
+0
-0
lib/Views/user/Plugin/views/field/views_handler_field_user_link_edit.inc
...Plugin/views/field/views_handler_field_user_link_edit.inc
+0
-0
lib/Views/user/Plugin/views/field/views_handler_field_user_mail.inc
...user/Plugin/views/field/views_handler_field_user_mail.inc
+1
-1
lib/Views/user/Plugin/views/field/views_handler_field_user_permissions.inc
...ugin/views/field/views_handler_field_user_permissions.inc
+0
-0
lib/Views/user/Plugin/views/field/views_handler_field_user_picture.inc
...r/Plugin/views/field/views_handler_field_user_picture.inc
+0
-0
lib/Views/user/Plugin/views/field/views_handler_field_user_roles.inc
...ser/Plugin/views/field/views_handler_field_user_roles.inc
+0
-0
lib/Views/user/Plugin/views/filter/Name.php
lib/Views/user/Plugin/views/filter/Name.php
+10
-1
lib/Views/user/Plugin/views/filter/views_handler_filter_user_current.inc
...Plugin/views/filter/views_handler_filter_user_current.inc
+0
-0
lib/Views/user/Plugin/views/filter/views_handler_filter_user_permissions.inc
...in/views/filter/views_handler_filter_user_permissions.inc
+0
-0
lib/Views/user/Plugin/views/filter/views_handler_filter_user_roles.inc
...r/Plugin/views/filter/views_handler_filter_user_roles.inc
+0
-0
lib/Views/user/Plugin/views/row/views_plugin_row_user_view.inc
...iews/user/Plugin/views/row/views_plugin_row_user_view.inc
+0
-0
modules/search.views.inc
modules/search.views.inc
+6
-9
views.module
views.module
+3
-3
No files found.
lib/Drupal/search/ViewsSearchQuery.php
0 → 100644
View file @
20378285
<?php
namespace
Drupal\search
;
/**
* Extends the core SearchQuery.
*
* @todo: Make this class PSR-0 compatible.
*/
class
ViewsSearchQuery
extends
SearchQuery
{
public
function
&
conditions
()
{
return
$this
->
conditions
;
}
public
function
words
()
{
return
$this
->
words
;
}
public
function
simple
()
{
return
$this
->
simple
;
}
public
function
matches
()
{
return
$this
->
matches
;
}
public
function
publicParseSearchExpression
()
{
return
$this
->
parseSearchExpression
();
}
function
condition_replace_string
(
$search
,
$replace
,
&
$condition
)
{
if
(
$condition
[
'field'
]
instanceof
DatabaseCondition
)
{
$conditions
=&
$condition
[
'field'
]
->
conditions
();
foreach
(
$conditions
as
$key
=>
&
$subcondition
)
{
if
(
is_numeric
(
$key
))
{
$this
->
condition_replace_string
(
$search
,
$replace
,
$subcondition
);
}
}
}
else
{
$condition
[
'field'
]
=
str_replace
(
$search
,
$replace
,
$condition
[
'field'
]);
}
}
}
lib/
Drupal
/aggregator/Plugin/views/argument/CategoryCid.php
→
lib/
Views
/aggregator/Plugin/views/argument/CategoryCid.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_argument_aggregator_category_cid.
*/
namespace
Drupal
\aggregator\Plugin\views\argument
;
namespace
Views
\aggregator\Plugin\views\argument
;
use
Drupal\views\Plugin\views\argument\Numeric
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/aggregator/Plugin/views/argument/Fid.php
→
lib/
Views
/aggregator/Plugin/views/argument/Fid.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_argument_aggregator_fid.
*/
namespace
Drupal
\aggregator\Plugin\views\argument
;
namespace
Views
\aggregator\Plugin\views\argument
;
use
Drupal\views\Plugin\views\argument\Numeric
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/aggregator/Plugin/views/argument/Iid.php
→
lib/
Views
/aggregator/Plugin/views/argument/Iid.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_argument_aggregator_iid.
*/
namespace
Drupal
\aggregator\Plugin\views\argument
;
namespace
Views
\aggregator\Plugin\views\argument
;
use
Drupal\views\Plugin\views\argument\Numeric
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/aggregator/Plugin/views/field/Category.php
→
lib/
Views
/aggregator/Plugin/views/field/Category.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_aggregator_category.
*/
namespace
Drupal
\aggregator\Plugin\views\field
;
namespace
Views
\aggregator\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/aggregator/Plugin/views/field/TitleLink.php
→
lib/
Views
/aggregator/Plugin/views/field/TitleLink.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_aggregator_title_link.
*/
namespace
Drupal
\aggregator\Plugin\views\field
;
namespace
Views
\aggregator\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/aggregator/Plugin/views/field/Xss.php
→
lib/
Views
/aggregator/Plugin/views/field/Xss.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_aggregator_xss.
*/
namespace
Drupal
\aggregator\Plugin\views\field
;
namespace
Views
\aggregator\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/aggregator/Plugin/views/filter/CategoryCid.php
→
lib/
Views
/aggregator/Plugin/views/filter/CategoryCid.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_filter_aggregator_category_cid.
*/
namespace
Drupal
\aggregator\Plugin\views\filter
;
namespace
Views
\aggregator\Plugin\views\filter
;
use
Drupal\views\Plugin\views\filter\InOperator
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/aggregator/Plugin/views/row/Rss.php
→
lib/
Views
/aggregator/Plugin/views/row/Rss.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Contains the Aggregator Item RSS row style plugin.
*/
namespace
Drupal
\aggregator\Plugin\views\row
;
namespace
Views
\aggregator\Plugin\views\row
;
use
Drupal\views\Plugin\views\row\RowPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/book/Plugin/views/argument_default/Root.php
→
lib/
Views
/book/Plugin/views/argument_default/Root.php
View file @
20378285
...
...
@@ -4,7 +4,7 @@
* Contains the book root from current node argument default plugin.
*/
namespace
Drupal
\book\Plugin\views\argument_default
;
namespace
Views
\book\Plugin\views\argument_default
;
use
Views\node\Plugin\views\argument_default
\
Node
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/argument/UserUid.php
→
lib/
Views
/comment/Plugin/views/argument/UserUid.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_argument_comment_user_uid.
*/
namespace
Drupal
\comment\Plugin\views\argument
;
namespace
Views
\comment\Plugin\views\argument
;
use
Drupal\views\Plugin\views\argument\ArgumentPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/Comment.php
→
lib/
Views
/comment/Plugin/views/field/Comment.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_comment.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/Depth.php
→
lib/
Views
/comment/Plugin/views/field/Depth.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_comment_depth.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\Core\Annotation\Plugin
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
...
...
@@ -21,7 +21,7 @@
* plugin_id = "comment_depth"
* )
*/
class
views_handler_field_comment_d
epth
extends
FieldPluginBase
{
class
D
epth
extends
FieldPluginBase
{
/**
* Work out the depth of this comment
*/
...
...
lib/
Drupal
/comment/Plugin/views/field/LInkDelete.php
→
lib/
Views
/comment/Plugin/views/field/LInkDelete.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_comment_link_delete.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/LastTimestamp.php
→
lib/
Views
/comment/Plugin/views/field/LastTimestamp.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_last_comment_timestamp.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\Date
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/Link.php
→
lib/
Views
/comment/Plugin/views/field/Link.php
View file @
20378285
...
...
@@ -5,9 +5,10 @@
* Definition of views_handler_field_comment_link.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\Entity
;
use
Drupal\Core\Annotation\Plugin
;
/**
* Base field handler to present a link.
...
...
lib/
Drupal
/comment/Plugin/views/field/LinkApprove.php
→
lib/
Views
/comment/Plugin/views/field/LinkApprove.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_comment_link_approve.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\Core\Annotation\Plugin
;
...
...
@@ -20,7 +20,7 @@
* plugin_id = "comment_link_approve"
* )
*/
class
views_handler_field_comment_link_a
pprove
extends
Link
{
class
LinkA
pprove
extends
Link
{
function
access
()
{
//needs permission to administer comments in general
return
user_access
(
'administer comments'
);
...
...
lib/
Drupal
/comment/Plugin/views/field/LinkEdit.php
→
lib/
Views
/comment/Plugin/views/field/LinkEdit.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_comment_link_edit.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/LinkReply.php
→
lib/
Views
/comment/Plugin/views/field/LinkReply.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_comment_link_reply.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/NcsLastCommentName.php
→
lib/
Views
/comment/Plugin/views/field/NcsLastCommentName.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_ncs_last_comment_name.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\views\Join
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
...
...
lib/
Drupal
/comment/Plugin/views/field/NcsLastUpdated.php
→
lib/
Views
/comment/Plugin/views/field/NcsLastUpdated.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_ncs_last_updated.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\Date
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/NodeComment.php
→
lib/
Views
/comment/Plugin/views/field/NodeComment.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_node_comment.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/NodeLink.php
→
lib/
Views
/comment/Plugin/views/field/NodeLink.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_comment_node_link.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\Entity
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/NodeNewComments.php
→
lib/
Views
/comment/Plugin/views/field/NodeNewComments.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_node_new_comments.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\Numeric
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/field/Username.php
→
lib/
Views
/comment/Plugin/views/field/Username.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_comment_username.
*/
namespace
Drupal
\comment\Plugin\views\field
;
namespace
Views
\comment\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/filter/NcsLastUpdated.php
→
lib/
Views
/comment/Plugin/views/filter/NcsLastUpdated.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_filter_ncs_last_updated.
*/
namespace
Drupal
\comment\Plugin\views\filter
;
namespace
Views
\comment\Plugin\views\filter
;
use
Drupal\views\Plugin\views\filter\Date
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/filter/NodeComment.php
→
lib/
Views
/comment/Plugin/views/filter/NodeComment.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_filter_node_comment.
*/
namespace
Drupal
\comment\Plugin\views\filter
;
namespace
Views
\comment\Plugin\views\filter
;
use
Drupal\views\Plugin\views\filter\InOperator
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/filter/UserUid.php
→
lib/
Views
/comment/Plugin/views/filter/UserUid.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_filter_comment_user_uid.
*/
namespace
Drupal
\comment\Plugin\views\filter
;
namespace
Views
\comment\Plugin\views\filter
;
use
Drupal\views\Plugin\views\filter\FilterPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/comment/Plugin/views/row/Rss.php
→
lib/
Views
/comment/Plugin/views/row/Rss.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Contains the comment RSS row style plugin.
*/
namespace
Drupal
\comment\Plugin\views\row
;
namespace
Views
\comment\Plugin\views\row
;
use
Drupal\views\Plugin\views\row\RowPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
@@ -22,7 +22,7 @@
* base = {"comment"},
* uses_options = TRUE,
* type = "feed",
* help_topic
"
= "style-comment-rss"
* help_topic = "style-comment-rss"
* )
*/
class
Rss
extends
RowPluginBase
{
...
...
lib/
Drupal
/comment/Plugin/views/row/View.php
→
lib/
Views
/comment/Plugin/views/row/View.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Contains the node RSS row style plugin.
*/
namespace
Drupal
\comment\Plugin\views\row
;
namespace
Views
\comment\Plugin\views\row
;
use
Drupal\views\Plugin\views\row\RowPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
@@ -22,7 +22,7 @@
* base = {"comment"},
* uses_options = TRUE,
* type = "normal",
* help_topic
"
= "style-comment"
* help_topic = "style-comment"
* )
*/
class
View
extends
RowPluginBase
{
...
...
lib/
Drupal
/comment/Plugin/views/sort/NcsLastCommentName.php
→
lib/
Views
/comment/Plugin/views/sort/NcsLastCommentName.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_sort_ncs_last_comment_name.
*/
namespace
Drupal
\comment\Plugin\views\sort
;
namespace
Views
\comment\Plugin\views\sort
;
use
Drupal\views\Join
;
use
Drupal\views\Plugin\views\sort\SortPluginBase
;
...
...
lib/
Drupal
/comment/Plugin/views/sort/NcsLastUpdated.php
→
lib/
Views
/comment/Plugin/views/sort/NcsLastUpdated.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_sort_ncs_last_updated.
*/
namespace
Drupal
\comment\Plugin\views\sort
;
namespace
Views
\comment\Plugin\views\sort
;
use
Drupal\views\Plugin\views\sort\Date
;
use
Drupal\Core\Annotation\Plugin
;
...
...
@@ -18,7 +18,7 @@
/**
* @Plugin(
* plugin_id =
'ncs_last_updated'
* plugin_id =
"ncs_last_updated"
* )
*/
class
NcsLastUpdated
extends
Date
{
...
...
lib/
Drupal
/comment/Plugin/views/sort/Thread.php
→
lib/
Views
/comment/Plugin/views/sort/Thread.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_sort_comment_thread.
*/
namespace
Drupal
\comment\Plugin\views\sort
;
namespace
Views
\comment\Plugin\views\sort
;
use
Drupal\views\Plugin\views\sort\SortPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
@@ -18,7 +18,7 @@
/**
* @Plugin(
* plugin_id =
'comment_thread'
* plugin_id =
"comment_thread"
* )
*/
class
Thread
extends
SortPluginBase
{
...
...
lib/
Drupal
/contact/Plugin/views/field/ContactLink.php
→
lib/
Views
/contact/Plugin/views/field/ContactLink.php
View file @
20378285
...
...
@@ -5,9 +5,9 @@
* Definition of views_handler_field_contact_link.
*/
namespace
Drupal
\contact\Plugin\views\field
;
namespace
Views
\contact\Plugin\views\field
;
use
Drupal\user\Plugins
\views\field\UserLink
;
use
Views\user\Plugin
\views\field\UserLink
;
use
Drupal\Core\Annotation\Plugin
;
/**
...
...
lib/
Drupal
/field/Plugin/views/argument/FieldList.php
→
lib/
Views
/field/Plugin/views/argument/FieldList.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_argument_field_list.
*/
namespace
Drupal
\field\Plugin\views\argument
;
namespace
Views
\field\Plugin\views\argument
;
use
Drupal\views\Plugin\views\argument\Numeric
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/field/Plugin/views/argument/ListString.php
→
lib/
Views
/field/Plugin/views/argument/ListString.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_argument_field_list_text.
*/
namespace
Drupal
\field\Plugin\views\argument
;
namespace
Views
\field\Plugin\views\argument
;
use
Drupal\views\Plugin\views\argument\String
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/field/Plugin/views/field/Field.php
→
lib/
Views
/field/Plugin/views/field/Field.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_field.
*/
namespace
Drupal
\field\Plugin\views\field
;
namespace
Views
\field\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/field/Plugin/views/filter/FieldList.php
→
lib/
Views
/field/Plugin/views/filter/FieldList.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_filter_field_list.
*/
namespace
Drupal
\field\Plugin\views\filter
;
namespace
Views
\field\Plugin\views\filter
;
use
Drupal\views\Plugin\views\filter\InOperator
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/field/Plugin/views/relationship/EntityReverse.php
→
lib/
Views
/field/Plugin/views/relationship/EntityReverse.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_relationship_entity_reverse.
*/
namespace
Drupal
\field\Plugin\views\relationship
;
namespace
Views
\field\Plugin\views\relationship
;
use
Drupal\views\Join
;
use
Drupal\views\Plugin\views\relationship\RelationshipPluginBase
;
...
...
lib/
Drupal
/filter/Plugin/views/field/FormatName.php
→
lib/
Views
/filter/Plugin/views/field/FormatName.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_filter_format_name.
*/
namespace
Drupal
\filter\Plugin\views\field
;
namespace
Views
\filter\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/locale/Plugin/views/argument/Group.php
→
lib/
Views
/locale/Plugin/views/argument/Group.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_argument_locale_group.
*/
namespace
Drupal
\locale\Plugin\views\argument
;
namespace
Views
\locale\Plugin\views\argument
;
use
Drupal\views\Plugin\views\argument\ArgumentPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/locale/Plugin/views/argument/Language.php
→
lib/
Views
/locale/Plugin/views/argument/Language.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_argument_locale_language.
*/
namespace
Drupal
\locale\Plugin\views\argument
;
namespace
Views
\locale\Plugin\views\argument
;
use
Drupal\views\Plugin\views\argument\ArgumentPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/locale/Plugin/views/field/Group.php
→
lib/
Views
/locale/Plugin/views/field/Group.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_locale_group.
*/
namespace
Drupal
\locale\Plugin\views\field
;
namespace
Views
\locale\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/locale/Plugin/views/field/Language.php
→
lib/
Views
/locale/Plugin/views/field/Language.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_locale_language.
*/
namespace
Drupal
\locale\Plugin\views\field
;
namespace
Views
\locale\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/locale/Plugin/views/field/LinkEdit.php
→
lib/
Views
/locale/Plugin/views/field/LinkEdit.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_field_locale_link_edit.
*/
namespace
Drupal
\locale\Plugin\views\field
;
namespace
Views
\locale\Plugin\views\field
;
use
Drupal\views\Plugin\views\field\FieldPluginBase
;
use
Drupal\Core\Annotation\Plugin
;
...
...
lib/
Drupal
/locale/Plugin/views/field/NodeLanguage.php
→
lib/
Views
/locale/Plugin/views/field/NodeLanguage.php
View file @
20378285
...
...
@@ -5,9 +5,9 @@
* Definition of views_handler_field_node_language.
*/
namespace
Drupal
\locale\Plugin\views\field
;
namespace
Views
\locale\Plugin\views\field
;
use
Drupal
\node\Plugin\views\field\Node
;
use
Views
\node\Plugin\views\field\Node
;
use
Drupal\Core\Annotation\Plugin
;
/**
...
...
lib/
Drupal
/locale/Plugin/views/filter/Group.php
→
lib/
Views
/locale/Plugin/views/filter/Group.php
View file @
20378285
...
...
@@ -5,7 +5,7 @@
* Definition of views_handler_filter_locale_group.
*/