Commit 10cfcd6a authored by alexpott's avatar alexpott

Issue #2302021 by swentel, yched, undertext: Move options.module widgets in Core.

parent 84cad37f
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\options\Plugin\Field\FieldWidget\ButtonsWidget.
* Contains \Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsButtonsWidget.
*/
namespace Drupal\options\Plugin\Field\FieldWidget;
namespace Drupal\Core\Field\Plugin\Field\FieldWidget;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Form\FormStateInterface;
......@@ -25,7 +25,7 @@
* multiple_values = TRUE
* )
*/
class ButtonsWidget extends OptionsWidgetBase {
class OptionsButtonsWidget extends OptionsWidgetBase {
/**
* {@inheritdoc}
......
......@@ -2,14 +2,13 @@
/**
* @file
* Contains \Drupal\options\Plugin\Field\FieldWidget\SelectWidget.
* Contains \Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsSelectWidget.
*/
namespace Drupal\options\Plugin\Field\FieldWidget;
namespace Drupal\Core\Field\Plugin\Field\FieldWidget;
use Drupal\Core\Field\FieldItemListInterface;
use Drupal\Core\Form\FormStateInterface;
use Drupal\options\Plugin\Field\FieldWidget\OptionsWidgetBase;
/**
* Plugin implementation of the 'options_select' widget.
......@@ -25,7 +24,7 @@
* multiple_values = TRUE
* )
*/
class SelectWidget extends OptionsWidgetBase {
class OptionsSelectWidget extends OptionsWidgetBase {
/**
* {@inheritdoc}
......
......@@ -2,10 +2,10 @@
/**
* @file
* Contains \Drupal\options\Plugin\Field\FieldWidget\OptionsWidgetBase.
* Contains \Drupal\Core\Field\Plugin\Field\FieldWidget\OptionsWidgetBase.
*/
namespace Drupal\options\Plugin\Field\FieldWidget;
namespace Drupal\Core\Field\Plugin\Field\FieldWidget;
use Drupal\Core\Entity\FieldableEntityInterface;
use Drupal\Core\Field\FieldDefinitionInterface;
......
......@@ -21,7 +21,7 @@ class EntityReferenceFieldDefaultValueTest extends WebTestBase {
*
* @var array
*/
public static $modules = array('entity_reference', 'field_ui', 'node', 'options');
public static $modules = array('entity_reference', 'field_ui', 'node');
protected function setUp() {
parent::setUp();
......
......@@ -42,7 +42,7 @@ class EntityReferenceIntegrationTest extends WebTestBase {
*
* @var array
*/
public static $modules = array('config_test', 'entity_test', 'entity_reference', 'options');
public static $modules = array('config_test', 'entity_test', 'entity_reference');
/**
* {@inheritdoc}
......
......@@ -24,7 +24,7 @@ class EntityReferenceItemTest extends FieldUnitTestBase {
*
* @var array
*/
public static $modules = array('entity_reference', 'taxonomy', 'options', 'text', 'filter');
public static $modules = array('entity_reference', 'taxonomy', 'text', 'filter');
/**
* The taxonomy vocabulary to test with.
......
......@@ -34,7 +34,7 @@ class EntityReferenceRelationshipTest extends ViewUnitTestBase {
*
* @var array
*/
public static $modules = array('user', 'field', 'entity_test', 'options', 'entity_reference', 'views', 'entity_reference_test_views');
public static $modules = array('user', 'field', 'entity_test', 'entity_reference', 'views', 'entity_reference_test_views');
/**
* The entity_test entities used by the test.
......
......@@ -46,7 +46,7 @@ class EntityReferenceRdfaTest extends FieldRdfaTestBase {
/**
* {@inheritdoc}
*/
public static $modules = array('entity', 'entity_reference', 'options', 'text', 'filter');
public static $modules = array('entity', 'entity_reference', 'text', 'filter');
protected function setUp() {
parent::setUp();
......
......@@ -39,7 +39,7 @@ class TaxonomyTermReferenceRdfaTest extends FieldRdfaTestBase {
/**
* {@inheritdoc}
*/
public static $modules = array('taxonomy', 'options', 'text', 'filter');
public static $modules = array('taxonomy', 'text', 'filter');
protected function setUp() {
parent::setUp();
......
......@@ -19,7 +19,7 @@ class EntityQueryRelationshipTest extends EntityUnitTestBase {
*
* @var array
*/
public static $modules = array('taxonomy', 'options');
public static $modules = array('taxonomy');
/**
* @var \Drupal\Core\Entity\Query\QueryFactory
......
......@@ -25,7 +25,7 @@ class TaxonomyTermReferenceItemTest extends FieldUnitTestBase {
*
* @var array
*/
public static $modules = array('taxonomy', 'entity_reference', 'options', 'text', 'filter');
public static $modules = array('taxonomy', 'entity_reference', 'text', 'filter');
/**
* The term entity.
......
......@@ -22,7 +22,7 @@ class TaxonomyFieldFilterTest extends ViewTestBase {
/**
* {@inheritdoc}
*/
public static $modules = array('language', 'taxonomy', 'taxonomy_test_views', 'text', 'views', 'node', 'options');
public static $modules = array('language', 'taxonomy', 'taxonomy_test_views', 'text', 'views', 'node');
/**
* Views used by this test.
......
......@@ -6,6 +6,5 @@ version: VERSION
core: 8.x
dependencies:
- node
- options
- text
configure: taxonomy.vocabulary_list
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment