Commit e5d6c142 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2455415 by rteijeiro, hussainweb, rpayanm, baisong: Rename Views plugin...

Issue #2455415 by rteijeiro, hussainweb, rpayanm, baisong: Rename Views plugin classes to support PHP 7
parent 4a7ab3e4
Loading
Loading
Loading
Loading
+2 −2
Changes for core/modules/aggregator/src/Plugin/views/argument/Fid.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
namespace Drupal\aggregator\Plugin\views\argument;

use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\views\Plugin\views\argument\Numeric;
use Drupal\views\Plugin\views\argument\NumericArgument;
use Drupal\Component\Utility\String;
use Symfony\Component\DependencyInjection\ContainerInterface;

@@ -19,7 +19,7 @@
 *
 * @ViewsArgument("aggregator_fid")
 */
class Fid extends Numeric {
class Fid extends NumericArgument {

  /**
   * The entity manager service.
+2 −2
Changes for core/modules/aggregator/src/Plugin/views/argument/Iid.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
namespace Drupal\aggregator\Plugin\views\argument;

use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\views\Plugin\views\argument\Numeric;
use Drupal\views\Plugin\views\argument\NumericArgument;
use Drupal\Component\Utility\String;
use Symfony\Component\DependencyInjection\ContainerInterface;

@@ -19,7 +19,7 @@
 *
 * @ViewsArgument("aggregator_iid")
 */
class Iid extends Numeric {
class Iid extends NumericArgument {

  /**
   * The entity manager service.
+2 −2
Changes for core/modules/comment/src/Plugin/views/field/NodeNewComments.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
use Drupal\Core\Database\Connection;
use Drupal\comment\CommentInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\views\Plugin\views\field\Numeric;
use Drupal\views\Plugin\views\field\NumericField;
use Drupal\views\Plugin\views\display\DisplayPluginBase;
use Drupal\views\ResultRow;
use Drupal\views\ViewExecutable;
@@ -23,7 +23,7 @@
 *
 * @ViewsField("node_new_comments")
 */
class NodeNewComments extends Numeric {
class NodeNewComments extends NumericField {

  /**
   * {@inheritdoc}
+2 −2
Changes for core/modules/file/src/Plugin/views/argument/Fid.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\Core\Entity\Query\QueryFactory;
use Drupal\views\Plugin\views\argument\Numeric;
use Drupal\views\Plugin\views\argument\NumericArgument;
use Drupal\Component\Utility\String;
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
@@ -21,7 +21,7 @@
 *
 * @ViewsArgument("file_fid")
 */
class Fid extends Numeric implements ContainerFactoryPluginInterface {
class Fid extends NumericArgument implements ContainerFactoryPluginInterface {

  /**
   * The entity manager service
+2 −2
Changes for core/modules/node/src/Plugin/views/argument/Nid.php: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@

use Drupal\Component\Utility\String;
use Drupal\node\NodeStorageInterface;
use Drupal\views\Plugin\views\argument\Numeric;
use Drupal\views\Plugin\views\argument\NumericArgument;
use Symfony\Component\DependencyInjection\ContainerInterface;

/**
@@ -17,7 +17,7 @@
 *
 * @ViewsArgument("node_nid")
 */
class Nid extends Numeric {
class Nid extends NumericArgument {

  /**
   * The node storage.
Loading