Commit 887b1e4c authored by alexpott's avatar alexpott

Issue #2551105 by Dave Reid: BaseCommand should not be in the quickedit...

Issue #2551105 by Dave Reid: BaseCommand should not be in the quickedit namespace, useful for anything
parent 1842da23
......@@ -2,15 +2,13 @@
/**
* @file
* Contains \Drupal\quickedit\Ajax\BaseCommand.
* Contains \Drupal\Core\Ajax\BaseCommand.
*/
namespace Drupal\quickedit\Ajax;
use Drupal\Core\Ajax\CommandInterface;
namespace Drupal\Core\Ajax;
/**
* Base command that only exists to simplify Quick Edit's actual AJAX commands.
* Base command that only exists to simplify AJAX commands.
*/
class BaseCommand implements CommandInterface {
......
......@@ -7,8 +7,7 @@
namespace Drupal\editor\Ajax;
use Drupal\Core\Ajax\CommandInterface;
use Drupal\quickedit\Ajax\BaseCommand;
use Drupal\Core\Ajax\BaseCommand;
/**
* AJAX command to rerender a formatted text field without any transformation
......
......@@ -7,6 +7,8 @@
namespace Drupal\quickedit\Ajax;
use Drupal\Core\Ajax\BaseCommand;
/**
* AJAX command to indicate the entity was loaded from PrivateTempStore and
* saved into the database.
......
......@@ -7,6 +7,8 @@
namespace Drupal\quickedit\Ajax;
use Drupal\Core\Ajax\BaseCommand;
/**
* AJAX command for passing a rendered field form to Quick Edit's JavaScript
* app.
......
......@@ -7,6 +7,8 @@
namespace Drupal\quickedit\Ajax;
use Drupal\Core\Ajax\BaseCommand;
/**
* AJAX command to indicate a field was saved into PrivateTempStore without
* validation errors and pass the rerendered field to Quick Edit's JavaScript
......
......@@ -7,6 +7,8 @@
namespace Drupal\quickedit\Ajax;
use Drupal\Core\Ajax\BaseCommand;
/**
* AJAX command to indicate a field form was attempted to be saved but failed
* validation and pass the validation errors.
......
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