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
 | 
			
		||||
 * 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():
 | 
			
		||||
 * @code
 | 
			
		||||
 *   title = @ Translation("Bundle", context = "Validation"),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,9 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\Core\Entity\Plugin\DataType;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\EntityInterface;
 | 
			
		||||
use Drupal\Core\TypedData\Annotation\DataType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\TypedData\DataReferenceBase;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\Core\Entity\Plugin\Validation\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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\Plugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Symfony\Component\Validator\Constraint;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\Core\Entity\Plugin\Validation\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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\Entity\Plugin\Validation\Constraint;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\Plugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Symfony\Component\Validator\Constraint;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\TypedData\Plugin\DataType;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\TypedData\Annotation\DataType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\TypedData\TypedData;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\Core\TypedData\Plugin\DataType;
 | 
			
		|||
 | 
			
		||||
use Drupal\Core\TypedData\PrimitiveBase;
 | 
			
		||||
use Drupal\Core\TypedData\Type\BinaryInterface;
 | 
			
		||||
use Drupal\Core\TypedData\Annotation\DataType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\TypedData\TypedData;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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\Type\BooleanInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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\TypedData\Type\DateTimeInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\TypedData\Plugin\DataType;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\TypedData\Annotation\DataType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\TypedData\Type\DurationInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\TypedData\Plugin\DataType;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\TypedData\Annotation\DataType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\TypedData\Type\StringInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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\Type\FloatInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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\Type\IntegerInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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\TypedData\TypedData;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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\TypedData;
 | 
			
		||||
use Drupal\Core\TypedData\ComplexDataInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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\Type\StringInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\TypedData\Plugin\DataType;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\TypedData\Annotation\DataType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\TypedData\Type\DurationInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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\TypedData\Type\DateTimeInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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\Type\UriInterface;
 | 
			
		||||
use Drupal\Core\TypedData\TypedData;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
 | 
			
		||||
 | 
			
		||||
use Symfony\Component\Validator\Constraints\Choice;
 | 
			
		||||
use Drupal\Component\Annotation\Plugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Checks for the value being allowed.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\Plugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Symfony\Component\Validator\Constraint;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\Plugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Symfony\Component\Validator\Constraints\Count;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\Plugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Symfony\Component\Validator\Constraints\Length;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\Plugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Symfony\Component\Validator\Constraint;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\Core\Validation\Plugin\Validation\Constraint;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\Plugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Symfony\Component\Validator\Constraints\Range;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\action\Plugin\Action;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Annotation\Action;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Action\ConfigurableActionBase;
 | 
			
		||||
use Drupal\Core\Entity\EntityManagerInterface;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\action\Plugin\Action;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Annotation\Action;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Action\ConfigurableActionBase;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
use Drupal\Core\Routing\UrlGeneratorInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\action\Plugin\Action;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Utility\Xss;
 | 
			
		||||
use Drupal\Core\Annotation\Action;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Action\ConfigurableActionBase;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
use Drupal\Core\Utility\Token;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,8 +11,6 @@ use Drupal\Core\Entity\ContentEntityBase;
 | 
			
		|||
use Drupal\Core\Field\FieldDefinition;
 | 
			
		||||
use Symfony\Component\DependencyInjection\Container;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\aggregator\FeedInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\aggregator\Entity;
 | 
			
		|||
 | 
			
		||||
use Drupal\Core\Entity\ContentEntityBase;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\aggregator\ItemInterface;
 | 
			
		||||
use Drupal\Core\Field\FieldDefinition;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\aggregator\Plugin\Block;
 | 
			
		||||
 | 
			
		||||
use Drupal\block\BlockBase;
 | 
			
		||||
use Drupal\block\Annotation\Block;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Database\Connection;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,10 +7,8 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\aggregator\Plugin\aggregator\fetcher;
 | 
			
		||||
 | 
			
		||||
use Drupal\aggregator\Annotation\AggregatorFetcher;
 | 
			
		||||
use Drupal\aggregator\Plugin\FetcherInterface;
 | 
			
		||||
use Drupal\aggregator\Entity\Feed;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
use Guzzle\Http\ClientInterface;
 | 
			
		||||
use Guzzle\Http\Exception\BadResponseException;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\aggregator\Plugin\aggregator\parser;
 | 
			
		|||
 | 
			
		||||
use Drupal\aggregator\Plugin\ParserInterface;
 | 
			
		||||
use Drupal\aggregator\Entity\Feed;
 | 
			
		||||
use Drupal\aggregator\Annotation\AggregatorParser;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Cache\Cache;
 | 
			
		||||
use Zend\Feed\Reader\Reader;
 | 
			
		||||
use Zend\Feed\Reader\Exception\ExceptionInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,11 +7,9 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\aggregator\Plugin\aggregator\processor;
 | 
			
		||||
 | 
			
		||||
use Drupal\aggregator\Annotation\AggregatorProcessor;
 | 
			
		||||
use Drupal\aggregator\Plugin\AggregatorPluginSettingsBase;
 | 
			
		||||
use Drupal\aggregator\Plugin\ProcessorInterface;
 | 
			
		||||
use Drupal\aggregator\Entity\Feed;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Database\Database;
 | 
			
		||||
use Drupal\Core\Config\ConfigFactory;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,6 @@ namespace Drupal\aggregator\Plugin\views\argument;
 | 
			
		|||
 | 
			
		||||
use Drupal\Core\Entity\EntityManagerInterface;
 | 
			
		||||
use Drupal\views\Plugin\views\argument\Numeric;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\Component\Utility\String;
 | 
			
		||||
use Symfony\Component\DependencyInjection\ContainerInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,6 @@ namespace Drupal\aggregator\Plugin\views\argument;
 | 
			
		|||
 | 
			
		||||
use Drupal\Core\Entity\EntityManagerInterface;
 | 
			
		||||
use Drupal\views\Plugin\views\argument\Numeric;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\Component\Utility\String;
 | 
			
		||||
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\ResultRow;
 | 
			
		||||
use Drupal\views\ViewExecutable;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 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;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\field\Xss as XssBase;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Filters htmls tags from item.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\aggregator\Plugin\views\row;
 | 
			
		||||
 | 
			
		||||
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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,8 +10,6 @@ namespace Drupal\aggregator_test\Plugin\aggregator\fetcher;
 | 
			
		|||
use Drupal\aggregator\Plugin\FetcherInterface;
 | 
			
		||||
use Drupal\aggregator\Plugin\aggregator\fetcher\DefaultFetcher;
 | 
			
		||||
use Drupal\aggregator\Entity\Feed;
 | 
			
		||||
use Drupal\aggregator\Annotation\AggregatorFetcher;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Guzzle\Http\Exception\BadResponseException;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,8 +10,6 @@ namespace Drupal\aggregator_test\Plugin\aggregator\parser;
 | 
			
		|||
use Drupal\aggregator\Plugin\ParserInterface;
 | 
			
		||||
use Drupal\aggregator\Entity\Feed;
 | 
			
		||||
use Drupal\aggregator\Plugin\aggregator\parser\DefaultParser;
 | 
			
		||||
use Drupal\aggregator\Annotation\AggregatorParser;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 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\ProcessorInterface;
 | 
			
		||||
use Drupal\aggregator\Entity\Feed;
 | 
			
		||||
use Drupal\aggregator\Annotation\AggregatorProcessor;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Config\ConfigFactory;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
use Symfony\Component\DependencyInjection\ContainerInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\custom_block\Entity;
 | 
			
		|||
 | 
			
		||||
use Drupal\Core\Entity\ContentEntityBase;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Field\FieldDefinition;
 | 
			
		||||
use Drupal\custom_block\CustomBlockInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\custom_block\Entity;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Config\Entity\ConfigEntityBase;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
 | 
			
		||||
use Drupal\custom_block\CustomBlockTypeInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\custom_block\Plugin\Block;
 | 
			
		||||
 | 
			
		||||
use Drupal\block\BlockBase;
 | 
			
		||||
use Drupal\block\Annotation\Block;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
use Drupal\Core\Extension\ModuleHandlerInterface;
 | 
			
		||||
use Drupal\Core\Session\AccountInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\block\Entity;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Config\Entity\ConfigEntityBase;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\block\BlockPluginBag;
 | 
			
		||||
use Drupal\block\BlockInterface;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@
 | 
			
		|||
namespace Drupal\block\Plugin\views\display;
 | 
			
		||||
 | 
			
		||||
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\views\display\DisplayPluginBase;
 | 
			
		||||
use Drupal\views\Views;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\block_test\Plugin\Block;
 | 
			
		||||
 | 
			
		||||
use Drupal\block\BlockBase;
 | 
			
		||||
use Drupal\block\Annotation\Block;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Session\AccountInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\block_test\Plugin\Block;
 | 
			
		||||
 | 
			
		||||
use Drupal\block\BlockBase;
 | 
			
		||||
use Drupal\block\Annotation\Block;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Provides a block to test caching.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,9 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\block_test\Plugin\Block;
 | 
			
		||||
 | 
			
		||||
use Drupal\block\Annotation\Block;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Provides a block to test HTML IDs.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\block_test\Plugin\Block;
 | 
			
		||||
 | 
			
		||||
use Drupal\block\Annotation\Block;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Provides a block to test XSS in title.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\book\Plugin\Block;
 | 
			
		||||
 | 
			
		||||
use Drupal\block\BlockBase;
 | 
			
		||||
use Drupal\block\Annotation\Block;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Provides a 'Book navigation' block.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,8 +14,6 @@ use Drupal\breakpoint\InvalidBreakpointNameException;
 | 
			
		|||
use Drupal\breakpoint\InvalidBreakpointSourceException;
 | 
			
		||||
use Drupal\breakpoint\InvalidBreakpointSourceTypeException;
 | 
			
		||||
use Drupal\breakpoint\InvalidBreakpointMediaQueryException;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Defines the Breakpoint entity.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,8 +11,6 @@ use Drupal\Core\Config\Entity\ConfigEntityBase;
 | 
			
		|||
use Drupal\breakpoint\BreakpointGroupInterface;
 | 
			
		||||
use Drupal\breakpoint\InvalidBreakpointSourceException;
 | 
			
		||||
use Drupal\breakpoint\InvalidBreakpointSourceTypeException;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Defines the BreakpointGroup entity.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
 | 
			
		|||
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginBase;
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
 | 
			
		||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\editor\Entity\Editor;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,10 +9,8 @@ namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
 | 
			
		|||
 | 
			
		||||
use Drupal\Component\Plugin\PluginBase;
 | 
			
		||||
use Drupal\editor\Entity\Editor;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginInterface;
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginContextualInterface;
 | 
			
		||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Defines the "drupalimagecaption" plugin.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
 | 
			
		||||
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginBase;
 | 
			
		||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\editor\Entity\Editor;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
 | 
			
		|||
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginBase;
 | 
			
		||||
use Drupal\Component\Utility\NestedArray;
 | 
			
		||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\editor\Entity\Editor;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -10,8 +10,6 @@ namespace Drupal\ckeditor\Plugin\CKEditorPlugin;
 | 
			
		|||
use Drupal\ckeditor\CKEditorPluginBase;
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
 | 
			
		||||
use Drupal\Component\Utility\NestedArray;
 | 
			
		||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\editor\Entity\Editor;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,8 +13,6 @@ use Drupal\ckeditor\CKEditorPluginManager;
 | 
			
		|||
use Drupal\Core\Language\Language;
 | 
			
		||||
use Drupal\Core\Language\LanguageManager;
 | 
			
		||||
use Drupal\editor\Plugin\EditorBase;
 | 
			
		||||
use Drupal\editor\Annotation\Editor;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
use Drupal\editor\Entity\Editor as EditorEntity;
 | 
			
		||||
use Symfony\Component\DependencyInjection\ContainerInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\ckeditor_test\Plugin\CKEditorPlugin;
 | 
			
		|||
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginInterface;
 | 
			
		||||
use Drupal\Component\Plugin\PluginBase;
 | 
			
		||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\editor\Entity\Editor;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\ckeditor_test\Plugin\CKEditorPlugin;
 | 
			
		|||
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginButtonsInterface;
 | 
			
		||||
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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\ckeditor_test\Plugin\CKEditorPlugin;
 | 
			
		|||
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginContextualInterface;
 | 
			
		||||
use Drupal\Component\Plugin\PluginBase;
 | 
			
		||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\editor\Entity\Editor;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,8 +11,6 @@ use Drupal\ckeditor\CKEditorPluginButtonsInterface;
 | 
			
		|||
use Drupal\ckeditor\CKEditorPluginContextualInterface;
 | 
			
		||||
use Drupal\ckeditor\CKEditorPluginConfigurableInterface;
 | 
			
		||||
use Drupal\Component\Plugin\PluginBase;
 | 
			
		||||
use Drupal\ckeditor\Annotation\CKEditorPlugin;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\editor\Entity\Editor;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Entity;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Entity\ContentEntityBase;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\comment\CommentInterface;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
 | 
			
		||||
use Drupal\Core\Field\FieldDefinition;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\Action;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Annotation\Action;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Action\ActionBase;
 | 
			
		||||
use Drupal\comment\CommentInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\Action;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Annotation\Action;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Cache\Cache;
 | 
			
		||||
use Drupal\Core\Action\ActionBase;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\Action;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Annotation\Action;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Action\ConfigurableActionBase;
 | 
			
		||||
use Drupal\comment\CommentInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,8 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\Action;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Annotation\Action;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Action\ActionBase;
 | 
			
		||||
use Drupal\comment\CommentInterface;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,10 +7,8 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\entity_reference\selection;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\Core\Database\Query\SelectInterface;
 | 
			
		||||
use Drupal\comment\CommentInterface;
 | 
			
		||||
use Drupal\entity_reference\Annotation\EntityReferenceSelection;
 | 
			
		||||
use Drupal\entity_reference\Plugin\entity_reference\selection\SelectionBase;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\views\argument;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\Core\Database\Connection;
 | 
			
		||||
use Drupal\views\Plugin\views\argument\ArgumentPluginBase;
 | 
			
		||||
use Symfony\Component\DependencyInjection\ContainerInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,6 @@ use Drupal\views\ResultRow;
 | 
			
		|||
use Drupal\views\ViewExecutable;
 | 
			
		||||
use Drupal\views\Plugin\views\display\DisplayPluginBase;
 | 
			
		||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Field handler to allow linking to a comment.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
 | 
			
		||||
use Drupal\views\ResultRow;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
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\ResultRow;
 | 
			
		||||
use Drupal\views\ViewExecutable;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 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\views\Plugin\views\field\FieldPluginBase;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\Core\Plugin\ContainerFactoryPluginInterface;
 | 
			
		||||
use Drupal\views\ResultRow;
 | 
			
		||||
use Symfony\Component\DependencyInjection\ContainerInterface;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,7 +9,6 @@ namespace Drupal\comment\Plugin\views\field;
 | 
			
		|||
 | 
			
		||||
use Drupal\comment\CommentInterface;
 | 
			
		||||
use Drupal\views\ResultRow;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Provides a comment approve link.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\views\ResultRow;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\views\ResultRow;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\views\ResultRow;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\views\ResultRow;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\comment\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\Core\Database\Connection;
 | 
			
		||||
use Drupal\comment\CommentInterface;
 | 
			
		||||
use Drupal\views\Plugin\views\field\Numeric;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\views\ResultRow;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\field\Date;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * 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\Plugin\views\display\DisplayPluginBase;
 | 
			
		||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Field handler to allow linking to a user account or homepage.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\filter;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\filter\InOperator;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Filter based on comment node status.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\filter;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\filter\Date;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Filter handler for the newer of last comment / node updated.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\filter;
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\row;
 | 
			
		||||
 | 
			
		||||
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.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\sort;
 | 
			
		||||
 | 
			
		||||
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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\sort;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\sort\Date;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Sort handler for the newer of last comment / entity updated.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\sort;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\sort\SortPluginBase;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Sort handler for ordering by thread.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\comment\Plugin\views\wizard;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\wizard\WizardPluginBase;
 | 
			
		||||
use Drupal\views\Annotation\ViewsWizard;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @todo: replace numbers with constants.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,9 +7,6 @@
 | 
			
		|||
 | 
			
		||||
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.
 | 
			
		||||
 *
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,8 +8,6 @@
 | 
			
		|||
namespace Drupal\config_test\Entity;
 | 
			
		||||
 | 
			
		||||
use Drupal\Core\Config\Entity\ConfigEntityBase;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\config_test\ConfigTestInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,8 +9,6 @@ namespace Drupal\contact\Entity;
 | 
			
		|||
 | 
			
		||||
use Drupal\Core\Config\Entity\ConfigEntityBase;
 | 
			
		||||
use Drupal\Core\Entity\EntityStorageControllerInterface;
 | 
			
		||||
use Drupal\Core\Entity\Annotation\EntityType;
 | 
			
		||||
use Drupal\Core\Annotation\Translation;
 | 
			
		||||
use Drupal\contact\CategoryInterface;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,7 +8,6 @@
 | 
			
		|||
namespace Drupal\content_translation\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\Core\Entity\EntityInterface;
 | 
			
		||||
use Drupal\views\ResultRow;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,7 +7,6 @@
 | 
			
		|||
 | 
			
		||||
namespace Drupal\contextual\Plugin\views\field;
 | 
			
		||||
 | 
			
		||||
use Drupal\Component\Annotation\PluginID;
 | 
			
		||||
use Drupal\views\Plugin\views\field\FieldPluginBase;
 | 
			
		||||
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