Issue #2146517 by TR: Remove annotation 'use' statements from all core classes.
parent
53302eeb27
commit
3465947578
|
|
@ -24,11 +24,6 @@ use Drupal\Component\Annotation\AnnotationInterface;
|
||||||
* Remove spaces after @ in your actual plugin - these are put into this sample
|
* Remove spaces after @ in your actual plugin - these are put into this sample
|
||||||
* code so that it is not recognized as annotation.
|
* code so that it is not recognized as annotation.
|
||||||
*
|
*
|
||||||
* You will also need to make sure that your class file includes the line:
|
|
||||||
* @code
|
|
||||||
* use Drupal\Core\Annotation\Translation;
|
|
||||||
* @endcode
|
|
||||||
*
|
|
||||||
* It is also possible to provide a context with the text, similar to t():
|
* It is also possible to provide a context with the text, similar to t():
|
||||||
* @code
|
* @code
|
||||||
* title = @ Translation("Bundle", context = "Validation"),
|
* title = @ Translation("Bundle", context = "Validation"),
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\Entity\Plugin\DataType;
|
namespace Drupal\Core\Entity\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the base plugin for deriving data types for entity types.
|
* Defines the base plugin for deriving data types for entity types.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\Core\Entity\Plugin\DataType;
|
namespace Drupal\Core\Entity\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\Entity\EntityInterface;
|
use Drupal\Core\Entity\EntityInterface;
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\DataReferenceBase;
|
use Drupal\Core\TypedData\DataReferenceBase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Symfony\Component\Validator\Constraint;
|
use Symfony\Component\Validator\Constraint;
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if a value is a valid entity type.
|
* Checks if a value is a valid entity type.
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Symfony\Component\Validator\Constraint;
|
use Symfony\Component\Validator\Constraint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Symfony\Component\Validator\Constraint;
|
use Symfony\Component\Validator\Constraint;
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if a value is a valid entity type.
|
* Checks if a value is a valid entity type.
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Symfony\Component\Validator\Constraint;
|
use Symfony\Component\Validator\Constraint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\TypedData;
|
use Drupal\Core\TypedData\TypedData;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\PrimitiveBase;
|
use Drupal\Core\TypedData\PrimitiveBase;
|
||||||
use Drupal\Core\TypedData\Type\BinaryInterface;
|
use Drupal\Core\TypedData\Type\BinaryInterface;
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\TypedData;
|
use Drupal\Core\TypedData\TypedData;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\PrimitiveBase;
|
use Drupal\Core\TypedData\PrimitiveBase;
|
||||||
use Drupal\Core\TypedData\Type\BooleanInterface;
|
use Drupal\Core\TypedData\Type\BooleanInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Datetime\DrupalDateTime;
|
use Drupal\Core\Datetime\DrupalDateTime;
|
||||||
use Drupal\Core\TypedData\Type\DateTimeInterface;
|
use Drupal\Core\TypedData\Type\DateTimeInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\Type\DurationInterface;
|
use Drupal\Core\TypedData\Type\DurationInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\Type\StringInterface;
|
use Drupal\Core\TypedData\Type\StringInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\PrimitiveBase;
|
use Drupal\Core\TypedData\PrimitiveBase;
|
||||||
use Drupal\Core\TypedData\Type\FloatInterface;
|
use Drupal\Core\TypedData\Type\FloatInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\PrimitiveBase;
|
use Drupal\Core\TypedData\PrimitiveBase;
|
||||||
use Drupal\Core\TypedData\Type\IntegerInterface;
|
use Drupal\Core\TypedData\Type\IntegerInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Language\Language as LanguageObject;
|
use Drupal\Core\Language\Language as LanguageObject;
|
||||||
use Drupal\Core\TypedData\TypedData;
|
use Drupal\Core\TypedData\TypedData;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\DataDefinition;
|
use Drupal\Core\TypedData\DataDefinition;
|
||||||
use Drupal\Core\TypedData\TypedData;
|
use Drupal\Core\TypedData\TypedData;
|
||||||
use Drupal\Core\TypedData\ComplexDataInterface;
|
use Drupal\Core\TypedData\ComplexDataInterface;
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\PrimitiveBase;
|
use Drupal\Core\TypedData\PrimitiveBase;
|
||||||
use Drupal\Core\TypedData\Type\StringInterface;
|
use Drupal\Core\TypedData\Type\StringInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\Type\DurationInterface;
|
use Drupal\Core\TypedData\Type\DurationInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Datetime\DrupalDateTime;
|
use Drupal\Core\Datetime\DrupalDateTime;
|
||||||
use Drupal\Core\TypedData\Type\DateTimeInterface;
|
use Drupal\Core\TypedData\Type\DateTimeInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\TypedData\Plugin\DataType;
|
namespace Drupal\Core\TypedData\Plugin\DataType;
|
||||||
|
|
||||||
use Drupal\Core\TypedData\Annotation\DataType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\TypedData\PrimitiveBase;
|
use Drupal\Core\TypedData\PrimitiveBase;
|
||||||
use Drupal\Core\TypedData\Type\UriInterface;
|
use Drupal\Core\TypedData\Type\UriInterface;
|
||||||
use Drupal\Core\TypedData\TypedData;
|
use Drupal\Core\TypedData\TypedData;
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Symfony\Component\Validator\Constraints\Choice;
|
use Symfony\Component\Validator\Constraints\Choice;
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks for the value being allowed.
|
* Checks for the value being allowed.
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Symfony\Component\Validator\Constraint;
|
use Symfony\Component\Validator\Constraint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Symfony\Component\Validator\Constraints\Count;
|
use Symfony\Component\Validator\Constraints\Count;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Symfony\Component\Validator\Constraints\Length;
|
use Symfony\Component\Validator\Constraints\Length;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Symfony\Component\Validator\Constraint;
|
use Symfony\Component\Validator\Constraint;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\Plugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Symfony\Component\Validator\Constraints\Range;
|
use Symfony\Component\Validator\Constraints\Range;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\action\Plugin\Action;
|
namespace Drupal\action\Plugin\Action;
|
||||||
|
|
||||||
use Drupal\Core\Annotation\Action;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Action\ConfigurableActionBase;
|
use Drupal\Core\Action\ConfigurableActionBase;
|
||||||
use Drupal\Core\Entity\EntityManagerInterface;
|
use Drupal\Core\Entity\EntityManagerInterface;
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\action\Plugin\Action;
|
namespace Drupal\action\Plugin\Action;
|
||||||
|
|
||||||
use Drupal\Core\Annotation\Action;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Action\ConfigurableActionBase;
|
use Drupal\Core\Action\ConfigurableActionBase;
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
use Drupal\Core\Routing\UrlGeneratorInterface;
|
use Drupal\Core\Routing\UrlGeneratorInterface;
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\action\Plugin\Action;
|
namespace Drupal\action\Plugin\Action;
|
||||||
|
|
||||||
use Drupal\Component\Utility\Xss;
|
use Drupal\Component\Utility\Xss;
|
||||||
use Drupal\Core\Annotation\Action;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Action\ConfigurableActionBase;
|
use Drupal\Core\Action\ConfigurableActionBase;
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
use Drupal\Core\Utility\Token;
|
use Drupal\Core\Utility\Token;
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@ use Drupal\Core\Entity\ContentEntityBase;
|
||||||
use Drupal\Core\Field\FieldDefinition;
|
use Drupal\Core\Field\FieldDefinition;
|
||||||
use Symfony\Component\DependencyInjection\Container;
|
use Symfony\Component\DependencyInjection\Container;
|
||||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\aggregator\FeedInterface;
|
use Drupal\aggregator\FeedInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\aggregator\Entity;
|
||||||
|
|
||||||
use Drupal\Core\Entity\ContentEntityBase;
|
use Drupal\Core\Entity\ContentEntityBase;
|
||||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\aggregator\ItemInterface;
|
use Drupal\aggregator\ItemInterface;
|
||||||
use Drupal\Core\Field\FieldDefinition;
|
use Drupal\Core\Field\FieldDefinition;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\aggregator\Plugin\Block;
|
namespace Drupal\aggregator\Plugin\Block;
|
||||||
|
|
||||||
use Drupal\block\BlockBase;
|
use Drupal\block\BlockBase;
|
||||||
use Drupal\block\Annotation\Block;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Database\Connection;
|
use Drupal\Core\Database\Connection;
|
||||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,8 @@
|
||||||
|
|
||||||
namespace Drupal\aggregator\Plugin\aggregator\fetcher;
|
namespace Drupal\aggregator\Plugin\aggregator\fetcher;
|
||||||
|
|
||||||
use Drupal\aggregator\Annotation\AggregatorFetcher;
|
|
||||||
use Drupal\aggregator\Plugin\FetcherInterface;
|
use Drupal\aggregator\Plugin\FetcherInterface;
|
||||||
use Drupal\aggregator\Entity\Feed;
|
use Drupal\aggregator\Entity\Feed;
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
use Guzzle\Http\ClientInterface;
|
use Guzzle\Http\ClientInterface;
|
||||||
use Guzzle\Http\Exception\BadResponseException;
|
use Guzzle\Http\Exception\BadResponseException;
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\aggregator\Plugin\aggregator\parser;
|
||||||
|
|
||||||
use Drupal\aggregator\Plugin\ParserInterface;
|
use Drupal\aggregator\Plugin\ParserInterface;
|
||||||
use Drupal\aggregator\Entity\Feed;
|
use Drupal\aggregator\Entity\Feed;
|
||||||
use Drupal\aggregator\Annotation\AggregatorParser;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Cache\Cache;
|
use Drupal\Core\Cache\Cache;
|
||||||
use Zend\Feed\Reader\Reader;
|
use Zend\Feed\Reader\Reader;
|
||||||
use Zend\Feed\Reader\Exception\ExceptionInterface;
|
use Zend\Feed\Reader\Exception\ExceptionInterface;
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,9 @@
|
||||||
|
|
||||||
namespace Drupal\aggregator\Plugin\aggregator\processor;
|
namespace Drupal\aggregator\Plugin\aggregator\processor;
|
||||||
|
|
||||||
use Drupal\aggregator\Annotation\AggregatorProcessor;
|
|
||||||
use Drupal\aggregator\Plugin\AggregatorPluginSettingsBase;
|
use Drupal\aggregator\Plugin\AggregatorPluginSettingsBase;
|
||||||
use Drupal\aggregator\Plugin\ProcessorInterface;
|
use Drupal\aggregator\Plugin\ProcessorInterface;
|
||||||
use Drupal\aggregator\Entity\Feed;
|
use Drupal\aggregator\Entity\Feed;
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Database\Database;
|
use Drupal\Core\Database\Database;
|
||||||
use Drupal\Core\Config\ConfigFactory;
|
use Drupal\Core\Config\ConfigFactory;
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ namespace Drupal\aggregator\Plugin\views\argument;
|
||||||
|
|
||||||
use Drupal\Core\Entity\EntityManagerInterface;
|
use Drupal\Core\Entity\EntityManagerInterface;
|
||||||
use Drupal\views\Plugin\views\argument\Numeric;
|
use Drupal\views\Plugin\views\argument\Numeric;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\Component\Utility\String;
|
use Drupal\Component\Utility\String;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ namespace Drupal\aggregator\Plugin\views\argument;
|
||||||
|
|
||||||
use Drupal\Core\Entity\EntityManagerInterface;
|
use Drupal\Core\Entity\EntityManagerInterface;
|
||||||
use Drupal\views\Plugin\views\argument\Numeric;
|
use Drupal\views\Plugin\views\argument\Numeric;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\Component\Utility\String;
|
use Drupal\Component\Utility\String;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
use Drupal\views\ViewExecutable;
|
use Drupal\views\ViewExecutable;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a field handler that turns an item's title into a clickable link to
|
* Defines a field handler that turns an item's title into a clickable link to
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\aggregator\Plugin\views\field;
|
namespace Drupal\aggregator\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\field\Xss as XssBase;
|
use Drupal\views\Plugin\views\field\Xss as XssBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filters htmls tags from item.
|
* Filters htmls tags from item.
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\aggregator\Plugin\views\row;
|
namespace Drupal\aggregator\Plugin\views\row;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\row\RowPluginBase;
|
use Drupal\views\Plugin\views\row\RowPluginBase;
|
||||||
use Drupal\views\Annotation\ViewsRow;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a row plugin which loads an aggregator item and renders as RSS.
|
* Defines a row plugin which loads an aggregator item and renders as RSS.
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@ namespace Drupal\aggregator_test\Plugin\aggregator\fetcher;
|
||||||
use Drupal\aggregator\Plugin\FetcherInterface;
|
use Drupal\aggregator\Plugin\FetcherInterface;
|
||||||
use Drupal\aggregator\Plugin\aggregator\fetcher\DefaultFetcher;
|
use Drupal\aggregator\Plugin\aggregator\fetcher\DefaultFetcher;
|
||||||
use Drupal\aggregator\Entity\Feed;
|
use Drupal\aggregator\Entity\Feed;
|
||||||
use Drupal\aggregator\Annotation\AggregatorFetcher;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Guzzle\Http\Exception\BadResponseException;
|
use Guzzle\Http\Exception\BadResponseException;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@ namespace Drupal\aggregator_test\Plugin\aggregator\parser;
|
||||||
use Drupal\aggregator\Plugin\ParserInterface;
|
use Drupal\aggregator\Plugin\ParserInterface;
|
||||||
use Drupal\aggregator\Entity\Feed;
|
use Drupal\aggregator\Entity\Feed;
|
||||||
use Drupal\aggregator\Plugin\aggregator\parser\DefaultParser;
|
use Drupal\aggregator\Plugin\aggregator\parser\DefaultParser;
|
||||||
use Drupal\aggregator\Annotation\AggregatorParser;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a Test parser implementation.
|
* Defines a Test parser implementation.
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@ namespace Drupal\aggregator_test\Plugin\aggregator\processor;
|
||||||
use Drupal\aggregator\Plugin\AggregatorPluginSettingsBase;
|
use Drupal\aggregator\Plugin\AggregatorPluginSettingsBase;
|
||||||
use Drupal\aggregator\Plugin\ProcessorInterface;
|
use Drupal\aggregator\Plugin\ProcessorInterface;
|
||||||
use Drupal\aggregator\Entity\Feed;
|
use Drupal\aggregator\Entity\Feed;
|
||||||
use Drupal\aggregator\Annotation\AggregatorProcessor;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Config\ConfigFactory;
|
use Drupal\Core\Config\ConfigFactory;
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\custom_block\Entity;
|
||||||
|
|
||||||
use Drupal\Core\Entity\ContentEntityBase;
|
use Drupal\Core\Entity\ContentEntityBase;
|
||||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Field\FieldDefinition;
|
use Drupal\Core\Field\FieldDefinition;
|
||||||
use Drupal\custom_block\CustomBlockInterface;
|
use Drupal\custom_block\CustomBlockInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\custom_block\Entity;
|
namespace Drupal\custom_block\Entity;
|
||||||
|
|
||||||
use Drupal\Core\Config\Entity\ConfigEntityBase;
|
use Drupal\Core\Config\Entity\ConfigEntityBase;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
||||||
use Drupal\custom_block\CustomBlockTypeInterface;
|
use Drupal\custom_block\CustomBlockTypeInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\custom_block\Plugin\Block;
|
namespace Drupal\custom_block\Plugin\Block;
|
||||||
|
|
||||||
use Drupal\block\BlockBase;
|
use Drupal\block\BlockBase;
|
||||||
use Drupal\block\Annotation\Block;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
use Drupal\Core\Extension\ModuleHandlerInterface;
|
use Drupal\Core\Extension\ModuleHandlerInterface;
|
||||||
use Drupal\Core\Session\AccountInterface;
|
use Drupal\Core\Session\AccountInterface;
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\block\Entity;
|
namespace Drupal\block\Entity;
|
||||||
|
|
||||||
use Drupal\Core\Config\Entity\ConfigEntityBase;
|
use Drupal\Core\Config\Entity\ConfigEntityBase;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\block\BlockPluginBag;
|
use Drupal\block\BlockPluginBag;
|
||||||
use Drupal\block\BlockInterface;
|
use Drupal\block\BlockInterface;
|
||||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@
|
||||||
namespace Drupal\block\Plugin\views\display;
|
namespace Drupal\block\Plugin\views\display;
|
||||||
|
|
||||||
use Drupal\Component\Utility\String;
|
use Drupal\Component\Utility\String;
|
||||||
use Drupal\views\Annotation\ViewsDisplay;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\views\Plugin\Block\ViewsBlock;
|
use Drupal\views\Plugin\Block\ViewsBlock;
|
||||||
use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
||||||
use Drupal\views\Views;
|
use Drupal\views\Views;
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\block_test\Plugin\Block;
|
namespace Drupal\block_test\Plugin\Block;
|
||||||
|
|
||||||
use Drupal\block\BlockBase;
|
use Drupal\block\BlockBase;
|
||||||
use Drupal\block\Annotation\Block;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Session\AccountInterface;
|
use Drupal\Core\Session\AccountInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\block_test\Plugin\Block;
|
namespace Drupal\block_test\Plugin\Block;
|
||||||
|
|
||||||
use Drupal\block\BlockBase;
|
use Drupal\block\BlockBase;
|
||||||
use Drupal\block\Annotation\Block;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a block to test caching.
|
* Provides a block to test caching.
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\block_test\Plugin\Block;
|
namespace Drupal\block_test\Plugin\Block;
|
||||||
|
|
||||||
use Drupal\block\Annotation\Block;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a block to test HTML IDs.
|
* Provides a block to test HTML IDs.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\block_test\Plugin\Block;
|
namespace Drupal\block_test\Plugin\Block;
|
||||||
|
|
||||||
use Drupal\block\Annotation\Block;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a block to test XSS in title.
|
* Provides a block to test XSS in title.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\book\Plugin\Block;
|
namespace Drupal\book\Plugin\Block;
|
||||||
|
|
||||||
use Drupal\block\BlockBase;
|
use Drupal\block\BlockBase;
|
||||||
use Drupal\block\Annotation\Block;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a 'Book navigation' block.
|
* Provides a 'Book navigation' block.
|
||||||
|
|
|
||||||
|
|
@ -14,8 +14,6 @@ use Drupal\breakpoint\InvalidBreakpointNameException;
|
||||||
use Drupal\breakpoint\InvalidBreakpointSourceException;
|
use Drupal\breakpoint\InvalidBreakpointSourceException;
|
||||||
use Drupal\breakpoint\InvalidBreakpointSourceTypeException;
|
use Drupal\breakpoint\InvalidBreakpointSourceTypeException;
|
||||||
use Drupal\breakpoint\InvalidBreakpointMediaQueryException;
|
use Drupal\breakpoint\InvalidBreakpointMediaQueryException;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the Breakpoint entity.
|
* Defines the Breakpoint entity.
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@ use Drupal\Core\Config\Entity\ConfigEntityBase;
|
||||||
use Drupal\breakpoint\BreakpointGroupInterface;
|
use Drupal\breakpoint\BreakpointGroupInterface;
|
||||||
use Drupal\breakpoint\InvalidBreakpointSourceException;
|
use Drupal\breakpoint\InvalidBreakpointSourceException;
|
||||||
use Drupal\breakpoint\InvalidBreakpointSourceTypeException;
|
use Drupal\breakpoint\InvalidBreakpointSourceTypeException;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the BreakpointGroup entity.
|
* Defines the BreakpointGroup entity.
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
|
||||||
|
|
||||||
use Drupal\ckeditor\CKEditorPluginBase;
|
use Drupal\ckeditor\CKEditorPluginBase;
|
||||||
use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
|
use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
|
||||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\editor\Entity\Editor;
|
use Drupal\editor\Entity\Editor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,8 @@ namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
|
||||||
|
|
||||||
use Drupal\Component\Plugin\PluginBase;
|
use Drupal\Component\Plugin\PluginBase;
|
||||||
use Drupal\editor\Entity\Editor;
|
use Drupal\editor\Entity\Editor;
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\ckeditor\CKEditorPluginInterface;
|
use Drupal\ckeditor\CKEditorPluginInterface;
|
||||||
use Drupal\ckeditor\CKEditorPluginContextualInterface;
|
use Drupal\ckeditor\CKEditorPluginContextualInterface;
|
||||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the "drupalimagecaption" plugin.
|
* Defines the "drupalimagecaption" plugin.
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
|
namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
|
||||||
|
|
||||||
use Drupal\ckeditor\CKEditorPluginBase;
|
use Drupal\ckeditor\CKEditorPluginBase;
|
||||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\editor\Entity\Editor;
|
use Drupal\editor\Entity\Editor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
|
||||||
|
|
||||||
use Drupal\ckeditor\CKEditorPluginBase;
|
use Drupal\ckeditor\CKEditorPluginBase;
|
||||||
use Drupal\Component\Utility\NestedArray;
|
use Drupal\Component\Utility\NestedArray;
|
||||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\editor\Entity\Editor;
|
use Drupal\editor\Entity\Editor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -10,8 +10,6 @@ namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
|
||||||
use Drupal\ckeditor\CKEditorPluginBase;
|
use Drupal\ckeditor\CKEditorPluginBase;
|
||||||
use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
|
use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
|
||||||
use Drupal\Component\Utility\NestedArray;
|
use Drupal\Component\Utility\NestedArray;
|
||||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\editor\Entity\Editor;
|
use Drupal\editor\Entity\Editor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -13,8 +13,6 @@ use Drupal\ckeditor\CKEditorPluginManager;
|
||||||
use Drupal\Core\Language\Language;
|
use Drupal\Core\Language\Language;
|
||||||
use Drupal\Core\Language\LanguageManager;
|
use Drupal\Core\Language\LanguageManager;
|
||||||
use Drupal\editor\Plugin\EditorBase;
|
use Drupal\editor\Plugin\EditorBase;
|
||||||
use Drupal\editor\Annotation\Editor;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
use Drupal\editor\Entity\Editor as EditorEntity;
|
use Drupal\editor\Entity\Editor as EditorEntity;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\ckeditor_test\Plugin\CKEditorPlugin;
|
||||||
|
|
||||||
use Drupal\ckeditor\CKEditorPluginInterface;
|
use Drupal\ckeditor\CKEditorPluginInterface;
|
||||||
use Drupal\Component\Plugin\PluginBase;
|
use Drupal\Component\Plugin\PluginBase;
|
||||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\editor\Entity\Editor;
|
use Drupal\editor\Entity\Editor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\ckeditor_test\Plugin\CKEditorPlugin;
|
||||||
|
|
||||||
use Drupal\ckeditor\CKEditorPluginButtonsInterface;
|
use Drupal\ckeditor\CKEditorPluginButtonsInterface;
|
||||||
use Drupal\Component\Plugin\PluginBase;
|
use Drupal\Component\Plugin\PluginBase;
|
||||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines a "LlamaButton" plugin, with a toolbar builder-enabled "llama" feature.
|
* Defines a "LlamaButton" plugin, with a toolbar builder-enabled "llama" feature.
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\ckeditor_test\Plugin\CKEditorPlugin;
|
||||||
|
|
||||||
use Drupal\ckeditor\CKEditorPluginContextualInterface;
|
use Drupal\ckeditor\CKEditorPluginContextualInterface;
|
||||||
use Drupal\Component\Plugin\PluginBase;
|
use Drupal\Component\Plugin\PluginBase;
|
||||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\editor\Entity\Editor;
|
use Drupal\editor\Entity\Editor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,6 @@ use Drupal\ckeditor\CKEditorPluginButtonsInterface;
|
||||||
use Drupal\ckeditor\CKEditorPluginContextualInterface;
|
use Drupal\ckeditor\CKEditorPluginContextualInterface;
|
||||||
use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
|
use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
|
||||||
use Drupal\Component\Plugin\PluginBase;
|
use Drupal\Component\Plugin\PluginBase;
|
||||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\editor\Entity\Editor;
|
use Drupal\editor\Entity\Editor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\comment\Entity;
|
namespace Drupal\comment\Entity;
|
||||||
|
|
||||||
use Drupal\Core\Entity\ContentEntityBase;
|
use Drupal\Core\Entity\ContentEntityBase;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\comment\CommentInterface;
|
use Drupal\comment\CommentInterface;
|
||||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
||||||
use Drupal\Core\Field\FieldDefinition;
|
use Drupal\Core\Field\FieldDefinition;
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\Action;
|
namespace Drupal\comment\Plugin\Action;
|
||||||
|
|
||||||
use Drupal\Core\Annotation\Action;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Action\ActionBase;
|
use Drupal\Core\Action\ActionBase;
|
||||||
use Drupal\comment\CommentInterface;
|
use Drupal\comment\CommentInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\Action;
|
namespace Drupal\comment\Plugin\Action;
|
||||||
|
|
||||||
use Drupal\Core\Annotation\Action;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Cache\Cache;
|
use Drupal\Core\Cache\Cache;
|
||||||
use Drupal\Core\Action\ActionBase;
|
use Drupal\Core\Action\ActionBase;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\Action;
|
namespace Drupal\comment\Plugin\Action;
|
||||||
|
|
||||||
use Drupal\Core\Annotation\Action;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Action\ConfigurableActionBase;
|
use Drupal\Core\Action\ConfigurableActionBase;
|
||||||
use Drupal\comment\CommentInterface;
|
use Drupal\comment\CommentInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\Action;
|
namespace Drupal\comment\Plugin\Action;
|
||||||
|
|
||||||
use Drupal\Core\Annotation\Action;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Action\ActionBase;
|
use Drupal\Core\Action\ActionBase;
|
||||||
use Drupal\comment\CommentInterface;
|
use Drupal\comment\CommentInterface;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,10 +7,8 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\entity_reference\selection;
|
namespace Drupal\comment\Plugin\entity_reference\selection;
|
||||||
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\Core\Database\Query\SelectInterface;
|
use Drupal\Core\Database\Query\SelectInterface;
|
||||||
use Drupal\comment\CommentInterface;
|
use Drupal\comment\CommentInterface;
|
||||||
use Drupal\entity_reference\Annotation\EntityReferenceSelection;
|
|
||||||
use Drupal\entity_reference\Plugin\entity_reference\selection\SelectionBase;
|
use Drupal\entity_reference\Plugin\entity_reference\selection\SelectionBase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\views\argument;
|
namespace Drupal\comment\Plugin\views\argument;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\Core\Database\Connection;
|
use Drupal\Core\Database\Connection;
|
||||||
use Drupal\views\Plugin\views\argument\ArgumentPluginBase;
|
use Drupal\views\Plugin\views\argument\ArgumentPluginBase;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ use Drupal\views\ResultRow;
|
||||||
use Drupal\views\ViewExecutable;
|
use Drupal\views\ViewExecutable;
|
||||||
use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Field handler to allow linking to a comment.
|
* Field handler to allow linking to a comment.
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\views\field;
|
namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\field;
|
namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ use Drupal\views\Plugin\views\field\Date;
|
||||||
use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
use Drupal\views\ViewExecutable;
|
use Drupal\views\ViewExecutable;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Field handler to display the timestamp of a comment with the count of comments.
|
* Field handler to display the timestamp of a comment with the count of comments.
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\Core\Entity\EntityManagerInterface;
|
use Drupal\Core\Entity\EntityManagerInterface;
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@ namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\comment\CommentInterface;
|
use Drupal\comment\CommentInterface;
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides a comment approve link.
|
* Provides a comment approve link.
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\views\field;
|
namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\views\field;
|
namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\views\field;
|
namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\field;
|
namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\comment\Plugin\views\field;
|
namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\Core\Database\Connection;
|
use Drupal\Core\Database\Connection;
|
||||||
use Drupal\comment\CommentInterface;
|
use Drupal\comment\CommentInterface;
|
||||||
use Drupal\views\Plugin\views\field\Numeric;
|
use Drupal\views\Plugin\views\field\Numeric;
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\field;
|
namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\field;
|
namespace Drupal\comment\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\field\Date;
|
use Drupal\views\Plugin\views\field\Date;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Field handler to display the newer of last comment / node updated.
|
* Field handler to display the newer of last comment / node updated.
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,6 @@ use Drupal\views\ResultRow;
|
||||||
use Drupal\views\ViewExecutable;
|
use Drupal\views\ViewExecutable;
|
||||||
use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
use Drupal\views\Plugin\views\display\DisplayPluginBase;
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Field handler to allow linking to a user account or homepage.
|
* Field handler to allow linking to a user account or homepage.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\filter;
|
namespace Drupal\comment\Plugin\views\filter;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\filter\InOperator;
|
use Drupal\views\Plugin\views\filter\InOperator;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter based on comment node status.
|
* Filter based on comment node status.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\filter;
|
namespace Drupal\comment\Plugin\views\filter;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\filter\Date;
|
use Drupal\views\Plugin\views\filter\Date;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter handler for the newer of last comment / node updated.
|
* Filter handler for the newer of last comment / node updated.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\filter;
|
namespace Drupal\comment\Plugin\views\filter;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\filter\FilterPluginBase;
|
use Drupal\views\Plugin\views\filter\FilterPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Filter handler to accept a user id to check for nodes that user posted or
|
* Filter handler to accept a user id to check for nodes that user posted or
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\row;
|
namespace Drupal\comment\Plugin\views\row;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\row\RowPluginBase;
|
use Drupal\views\Plugin\views\row\RowPluginBase;
|
||||||
use Drupal\views\Annotation\ViewsRow;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Plugin which formats the comments as RSS items.
|
* Plugin which formats the comments as RSS items.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\sort;
|
namespace Drupal\comment\Plugin\views\sort;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\sort\SortPluginBase;
|
use Drupal\views\Plugin\views\sort\SortPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sort handler to sort by last comment name which might be in 2 different
|
* Sort handler to sort by last comment name which might be in 2 different
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\sort;
|
namespace Drupal\comment\Plugin\views\sort;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\sort\Date;
|
use Drupal\views\Plugin\views\sort\Date;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sort handler for the newer of last comment / entity updated.
|
* Sort handler for the newer of last comment / entity updated.
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\sort;
|
namespace Drupal\comment\Plugin\views\sort;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\sort\SortPluginBase;
|
use Drupal\views\Plugin\views\sort\SortPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sort handler for ordering by thread.
|
* Sort handler for ordering by thread.
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\comment\Plugin\views\wizard;
|
namespace Drupal\comment\Plugin\views\wizard;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\wizard\WizardPluginBase;
|
use Drupal\views\Plugin\views\wizard\WizardPluginBase;
|
||||||
use Drupal\views\Annotation\ViewsWizard;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @todo: replace numbers with constants.
|
* @todo: replace numbers with constants.
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\config_test\Entity;
|
namespace Drupal\config_test\Entity;
|
||||||
|
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the ConfigQueryTest configuration entity used by the query test.
|
* Defines the ConfigQueryTest configuration entity used by the query test.
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -8,8 +8,6 @@
|
||||||
namespace Drupal\config_test\Entity;
|
namespace Drupal\config_test\Entity;
|
||||||
|
|
||||||
use Drupal\Core\Config\Entity\ConfigEntityBase;
|
use Drupal\Core\Config\Entity\ConfigEntityBase;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\config_test\ConfigTestInterface;
|
use Drupal\config_test\ConfigTestInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -9,8 +9,6 @@ namespace Drupal\contact\Entity;
|
||||||
|
|
||||||
use Drupal\Core\Config\Entity\ConfigEntityBase;
|
use Drupal\Core\Config\Entity\ConfigEntityBase;
|
||||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
use Drupal\Core\Entity\EntityStorageControllerInterface;
|
||||||
use Drupal\Core\Entity\Annotation\EntityType;
|
|
||||||
use Drupal\Core\Annotation\Translation;
|
|
||||||
use Drupal\contact\CategoryInterface;
|
use Drupal\contact\CategoryInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
namespace Drupal\content_translation\Plugin\views\field;
|
namespace Drupal\content_translation\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\Core\Entity\EntityInterface;
|
use Drupal\Core\Entity\EntityInterface;
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
|
|
||||||
namespace Drupal\contextual\Plugin\views\field;
|
namespace Drupal\contextual\Plugin\views\field;
|
||||||
|
|
||||||
use Drupal\Component\Annotation\PluginID;
|
|
||||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
use Drupal\views\Plugin\views\field\FieldPluginBase;
|
||||||
use Drupal\views\ResultRow;
|
use Drupal\views\ResultRow;
|
||||||
|
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue