Commit 4b7a30ed authored by webchick's avatar webchick

Issue #2089627 by tim.plunkett: Move \Drupal\system\SystemConfigFormBase to...

Issue #2089627 by tim.plunkett: Move \Drupal\system\SystemConfigFormBase to \Drupal\Core\Form\ConfigFormBase.
parent 4d5d0865
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
/** /**
* @file * @file
* Contains \Drupal\system\SystemConfigFormBase. * Contains \Drupal\Core\Form\ConfigFormBase.
*/ */
namespace Drupal\system; namespace Drupal\Core\Form;
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
/** /**
* Base class for implementing system configuration forms. * Base class for implementing system configuration forms.
*/ */
abstract class SystemConfigFormBase extends FormBase { abstract class ConfigFormBase extends FormBase {
/** /**
* Stores the configuration factory. * Stores the configuration factory.
...@@ -25,7 +25,7 @@ abstract class SystemConfigFormBase extends FormBase { ...@@ -25,7 +25,7 @@ abstract class SystemConfigFormBase extends FormBase {
protected $configFactory; protected $configFactory;
/** /**
* Constructs a \Drupal\system\SystemConfigFormBase object. * Constructs a \Drupal\system\ConfigFormBase object.
* *
* @param \Drupal\Core\Config\ConfigFactory $config_factory * @param \Drupal\Core\Config\ConfigFactory $config_factory
* The factory for configuration objects. * The factory for configuration objects.
......
...@@ -13,13 +13,13 @@ ...@@ -13,13 +13,13 @@
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Plugin\PluginFormInterface; use Drupal\Core\Plugin\PluginFormInterface;
use Drupal\Core\StringTranslation\TranslationInterface; use Drupal\Core\StringTranslation\TranslationInterface;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* Configures aggregator settings for this site. * Configures aggregator settings for this site.
*/ */
class SettingsForm extends SystemConfigFormBase { class SettingsForm extends ConfigFormBase {
/** /**
* The aggregator plugin managers. * The aggregator plugin managers.
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
namespace Drupal\book\Form; namespace Drupal\book\Form;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure book settings for this site. * Configure book settings for this site.
*/ */
class BookSettingsForm extends SystemConfigFormBase { class BookSettingsForm extends ConfigFormBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
namespace Drupal\forum; namespace Drupal\forum;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure forum settings for this site. * Configure forum settings for this site.
*/ */
class ForumSettingsForm extends SystemConfigFormBase { class ForumSettingsForm extends ConfigFormBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
......
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
use Drupal\Core\Entity\EntityManager; use Drupal\Core\Entity\EntityManager;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* Configure the content language settings for this site. * Configure the content language settings for this site.
*/ */
class ContentLanguageSettingsForm extends SystemConfigFormBase { class ContentLanguageSettingsForm extends ConfigFormBase {
/** /**
* The entity manager. * The entity manager.
......
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* Configure the browser language negotiation method for this site. * Configure the browser language negotiation method for this site.
*/ */
class NegotiationBrowserForm extends SystemConfigFormBase { class NegotiationBrowserForm extends ConfigFormBase {
/** /**
* The module handler. * The module handler.
......
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
namespace Drupal\language\Form; namespace Drupal\language\Form;
use Drupal\Core\Language\Language; use Drupal\Core\Language\Language;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure the selected language negotiation method for this site. * Configure the selected language negotiation method for this site.
*/ */
class NegotiationSelectedForm extends SystemConfigFormBase { class NegotiationSelectedForm extends ConfigFormBase {
/** /**
* Implements \Drupal\Core\Form\FormInterface::getFormID(). * Implements \Drupal\Core\Form\FormInterface::getFormID().
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
namespace Drupal\language\Form; namespace Drupal\language\Form;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure the session language negotiation method for this site. * Configure the session language negotiation method for this site.
*/ */
class NegotiationSessionForm extends SystemConfigFormBase { class NegotiationSessionForm extends ConfigFormBase {
/** /**
* Implements \Drupal\Core\Form\FormInterface::getFormID(). * Implements \Drupal\Core\Form\FormInterface::getFormID().
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
namespace Drupal\language\Form; namespace Drupal\language\Form;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure the URL language negotiation method for this site. * Configure the URL language negotiation method for this site.
*/ */
class NegotiationUrlForm extends SystemConfigFormBase { class NegotiationUrlForm extends ConfigFormBase {
/** /**
* Implements \Drupal\Core\Form\FormInterface::getFormID(). * Implements \Drupal\Core\Form\FormInterface::getFormID().
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
namespace Drupal\locale\Form; namespace Drupal\locale\Form;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure locale settings for this site. * Configure locale settings for this site.
*/ */
class LocaleSettingsForm extends SystemConfigFormBase { class LocaleSettingsForm extends ConfigFormBase {
/** /**
* Implements \Drupal\Core\Form\FormInterface::getFormID(). * Implements \Drupal\Core\Form\FormInterface::getFormID().
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
namespace Drupal\menu; namespace Drupal\menu;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Select the menus to be used for the main and secondary links for this site. * Select the menus to be used for the main and secondary links for this site.
*/ */
class MenuSettingsForm extends SystemConfigFormBase { class MenuSettingsForm extends ConfigFormBase {
/** /**
* Implements \Drupal\Core\Form\FormInterface::getFormID(). * Implements \Drupal\Core\Form\FormInterface::getFormID().
......
...@@ -12,13 +12,13 @@ ...@@ -12,13 +12,13 @@
use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\Core\KeyValueStore\KeyValueStoreInterface; use Drupal\Core\KeyValueStore\KeyValueStoreInterface;
use Drupal\search\SearchPluginManager; use Drupal\search\SearchPluginManager;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* Configure search settings for this site. * Configure search settings for this site.
*/ */
class SearchSettingsForm extends SystemConfigFormBase { class SearchSettingsForm extends ConfigFormBase {
/** /**
* A configuration object with the current search settings. * A configuration object with the current search settings.
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
namespace Drupal\simpletest\Form; namespace Drupal\simpletest\Form;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure simpletest settings for this site. * Configure simpletest settings for this site.
*/ */
class SimpletestSettingsForm extends SystemConfigFormBase { class SimpletestSettingsForm extends ConfigFormBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
......
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
use Drupal\Core\Extension\ModuleHandlerInterface; use Drupal\Core\Extension\ModuleHandlerInterface;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* Configure statistics settings for this site. * Configure statistics settings for this site.
*/ */
class StatisticsSettingsForm extends SystemConfigFormBase { class StatisticsSettingsForm extends ConfigFormBase {
/** /**
* The module handler. * The module handler.
......
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
use Drupal\Core\KeyValueStore\KeyValueStoreInterface; use Drupal\Core\KeyValueStore\KeyValueStoreInterface;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RedirectResponse; use Symfony\Component\HttpFoundation\RedirectResponse;
/** /**
* Configure cron settings for this site. * Configure cron settings for this site.
*/ */
class CronForm extends SystemConfigFormBase { class CronForm extends ConfigFormBase {
/** /**
* Stores the state storage service. * Stores the state storage service.
......
...@@ -8,12 +8,12 @@ ...@@ -8,12 +8,12 @@
namespace Drupal\system\Form; namespace Drupal\system\Form;
use Drupal\Core\StreamWrapper\PublicStream; use Drupal\Core\StreamWrapper\PublicStream;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure file system settings for this site. * Configure file system settings for this site.
*/ */
class FileSystemForm extends SystemConfigFormBase { class FileSystemForm extends ConfigFormBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
......
...@@ -9,14 +9,14 @@ ...@@ -9,14 +9,14 @@
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Drupal\system\Plugin\ImageToolkitManager; use Drupal\system\Plugin\ImageToolkitManager;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* Configures image toolkit settings for this site. * Configures image toolkit settings for this site.
*/ */
class ImageToolkitForm extends SystemConfigFormBase { class ImageToolkitForm extends ConfigFormBase {
/** /**
* An array containing currently available toolkits. * An array containing currently available toolkits.
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
namespace Drupal\system\Form; namespace Drupal\system\Form;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure logging settings for this site. * Configure logging settings for this site.
*/ */
class LoggingForm extends SystemConfigFormBase { class LoggingForm extends ConfigFormBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
namespace Drupal\system\Form; namespace Drupal\system\Form;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
use Drupal\Core\Cache\CacheBackendInterface; use Drupal\Core\Cache\CacheBackendInterface;
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
/** /**
* Configure performance settings for this site. * Configure performance settings for this site.
*/ */
class PerformanceForm extends SystemConfigFormBase { class PerformanceForm extends ConfigFormBase {
/** /**
* The page cache object. * The page cache object.
......
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
use Drupal\Core\Locale\CountryManagerInterface; use Drupal\Core\Locale\CountryManagerInterface;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* Configure regional settings for this site. * Configure regional settings for this site.
*/ */
class RegionalForm extends SystemConfigFormBase { class RegionalForm extends ConfigFormBase {
/** /**
* The country manager. * The country manager.
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
namespace Drupal\system\Form; namespace Drupal\system\Form;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
/** /**
* Configure RSS settings for this site. * Configure RSS settings for this site.
*/ */
class RssFeedsForm extends SystemConfigFormBase { class RssFeedsForm extends ConfigFormBase {
/** /**
* {@inheritdoc} * {@inheritdoc}
......
...@@ -10,13 +10,13 @@ ...@@ -10,13 +10,13 @@
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
use Drupal\Core\Path\AliasManagerInterface; use Drupal\Core\Path\AliasManagerInterface;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* Configure site information settings for this site. * Configure site information settings for this site.
*/ */
class SiteInformationForm extends SystemConfigFormBase { class SiteInformationForm extends ConfigFormBase {
/** /**
* The path alias manager. * The path alias manager.
......
...@@ -10,14 +10,13 @@ ...@@ -10,14 +10,13 @@
use Drupal\Core\Config\ConfigFactory; use Drupal\Core\Config\ConfigFactory;
use Drupal\Core\Config\Context\ContextInterface; use Drupal\Core\Config\Context\ContextInterface;
use Drupal\Core\KeyValueStore\KeyValueStoreInterface; use Drupal\Core\KeyValueStore\KeyValueStoreInterface;
use Drupal\system\SystemConfigFormBase; use Drupal\Core\Form\ConfigFormBase;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
/** /**
* Configure maintenance settings for this site. * Configure maintenance settings for this site.
*/ */
class SiteMaintenanceModeForm extends SystemConfigFormBase { class SiteMaintenanceModeForm extends ConfigFormBase {
/** /**
* The state keyvalue collection. * The state keyvalue collection.
...@@ -27,7 +26,7 @@ class SiteMaintenanceModeForm extends SystemConfigFormBase { ...@@ -27,7 +26,7 @@ class SiteMaintenanceModeForm extends SystemConfigFormBase {
protected $state; protected $state;
/** /**