Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
a2e539c7
Commit
a2e539c7
authored
Oct 13, 2013
by
catch
Browse files
Issue
#2094003
by swentel: Remove use statements in formatters, widgets and field types plugins.
parent
43a27081
Changes
80
Hide whitespace changes
Inline
Side-by-side
core/modules/comment/lib/Drupal/comment/Plugin/field/field_type/CommentItem.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\comment\Plugin\field\field_type
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Annotation\FieldType
;
use
Drupal\field\FieldInterface
;
use
Drupal\field\Plugin\Type\FieldType\ConfigFieldItemBase
;
...
...
core/modules/comment/lib/Drupal/comment/Plugin/field/formatter/CommentDefaultFormatter.php
View file @
a2e539c7
...
...
@@ -11,8 +11,6 @@
use
Drupal\Core\Entity\EntityRenderControllerInterface
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\Core\Session\AccountInterface
;
use
Drupal\field\Annotation\FieldFormatter
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Field\FieldDefinitionInterface
;
use
Drupal\field\Plugin\Type\Formatter\FormatterBase
;
use
Drupal\Core\Plugin\ContainerFactoryPluginInterface
;
...
...
core/modules/comment/lib/Drupal/comment/Plugin/field/widget/CommentWidget.php
View file @
a2e539c7
...
...
@@ -8,8 +8,6 @@
namespace
Drupal\comment\Plugin\field\widget
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\field\Annotation\FieldWidget
;
use
Drupal\field\Plugin\Type\Widget\WidgetBase
;
/**
...
...
core/modules/contact/lib/Drupal/contact/Plugin/views/field/ContactLink.php
View file @
a2e539c7
...
...
@@ -8,7 +8,6 @@
namespace
Drupal\contact\Plugin\views\field
;
use
Drupal\Core\Entity\EntityInterface
;
use
Drupal\Component\Annotation\PluginID
;
use
Drupal\user\Plugin\views\field\Link
;
use
Drupal\views\ResultRow
;
...
...
core/modules/datetime/lib/Drupal/datetime/Plugin/field/field_type/DateTimeItem.php
View file @
a2e539c7
...
...
@@ -7,9 +7,7 @@
namespace
Drupal\datetime\Plugin\field\field_type
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Datetime\DrupalDateTime
;
use
Drupal\Core\Entity\Annotation\FieldType
;
use
Drupal\Core\Entity\Field\PrepareCacheInterface
;
use
Drupal\field\FieldInterface
;
use
Drupal\field\Plugin\Type\FieldType\ConfigFieldItemBase
;
...
...
core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimeDefaultFormatter.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\datetime\Plugin\field\formatter
;
use
Drupal\field\Annotation\FieldFormatter
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Datetime\Date
;
use
Drupal\Core\Datetime\DrupalDateTime
;
use
Drupal\Core\Entity\EntityStorageControllerInterface
;
...
...
core/modules/datetime/lib/Drupal/datetime/Plugin/field/formatter/DatetimePlainFormatter.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\datetime\Plugin\field\formatter
;
use
Drupal\field\Annotation\FieldFormatter
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\field\Plugin\Type\Formatter\FormatterBase
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
...
...
core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDatelistWidget.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\datetime\Plugin\field\widget
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\field\Annotation\FieldWidget
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\field\Plugin\Type\Widget\WidgetBase
;
use
Drupal\Core\Entity\Field\FieldDefinitionInterface
;
use
Drupal\field\FieldInstanceInterface
;
...
...
core/modules/datetime/lib/Drupal/datetime/Plugin/field/widget/DatetimeDefaultWidget.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\datetime\Plugin\field\widget
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\field\Annotation\FieldWidget
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\field\Plugin\Type\Widget\WidgetBase
;
use
Drupal\Core\Entity\Field\FieldDefinitionInterface
;
use
Drupal\field\FieldInstanceInterface
;
...
...
core/modules/email/lib/Drupal/email/Plugin/field/field_type/ConfigurableEmailItem.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\email\Plugin\field\field_type
;
use
Drupal\Core\Entity\Annotation\FieldType
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Plugin\DataType\EmailItem
;
use
Drupal\field\FieldInterface
;
...
...
core/modules/email/lib/Drupal/email/Plugin/field/formatter/MailToFormatter.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\email\Plugin\field\formatter
;
use
Drupal\field\Annotation\FieldFormatter
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\field\Plugin\Type\Formatter\FormatterBase
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
...
...
core/modules/email/lib/Drupal/email/Plugin/field/widget/EmailDefaultWidget.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\email\Plugin\field\widget
;
use
Drupal\field\Annotation\FieldWidget
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\field\Plugin\Type\Widget\WidgetBase
;
...
...
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/field_type/ConfigurableEntityReferenceItem.php
View file @
a2e539c7
...
...
@@ -7,11 +7,7 @@
namespace
Drupal\entity_reference\Plugin\field\field_type
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Annotation\FieldType
;
use
Drupal\Core\Entity\Field\Type\EntityReferenceItem
;
use
Drupal\field\Plugin\Type\FieldType\ConfigEntityReferenceItemBase
;
use
Drupal\field\Plugin\Type\FieldType\ConfigFieldItemBase
;
use
Drupal\field\Plugin\Type\FieldType\ConfigFieldItemInterface
;
use
Drupal\field\FieldInterface
;
...
...
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceEntityFormatter.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\entity_reference\Plugin\field\formatter
;
use
Drupal\field\Annotation\FieldFormatter
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\entity_reference
\
RecursiveRenderingException
;
use
Drupal\entity_reference
\
Plugin\field\formatter\EntityReferenceFormatterBase
;
...
...
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceIdFormatter.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\entity_reference\Plugin\field\formatter
;
use
Drupal\field\Annotation\FieldFormatter
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\entity_reference
\
Plugin\field\formatter\EntityReferenceFormatterBase
;
...
...
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/formatter/EntityReferenceLabelFormatter.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\entity_reference\Plugin\field\formatter
;
use
Drupal\field\Annotation\FieldFormatter
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\entity_reference
\
Plugin\field\formatter\EntityReferenceFormatterBase
;
...
...
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteTagsWidget.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\entity_reference\Plugin\field\widget
;
use
Drupal\field\Annotation\FieldWidget
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\entity_reference
\
Plugin\field\widget\AutocompleteWidgetBase
;
/**
...
...
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidget.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\entity_reference\Plugin\field\widget
;
use
Drupal\field\Annotation\FieldWidget
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\entity_reference
\
Plugin\field\widget\AutocompleteWidgetBase
;
...
...
core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/field/widget/AutocompleteWidgetBase.php
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
namespace
Drupal\entity_reference\Plugin\field\widget
;
use
Drupal\Component\Annotation\Plugin
;
use
Drupal\Core\Annotation\Translation
;
use
Drupal\Core\Entity\Field\FieldItemListInterface
;
use
Drupal\field\Plugin\Type\Widget\WidgetBase
;
use
Symfony\Component\Validator\ConstraintViolationInterface
;
...
...
core/modules/field/field.deprecated.inc
View file @
a2e539c7
...
...
@@ -7,8 +7,6 @@
use
Drupal\Core\Entity\EntityInterface
;
use
Drupal\Core\Entity\ContentEntityInterface
;
use
Drupal\Core\Entity\Field\PrepareCacheInterface
;
use
Drupal\Core\Language\Language
;
use
Drupal\entity\Entity\EntityDisplay
;
use
Drupal\field\Field
;
...
...
Prev
1
2
3
4
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment