Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 2 |
| EntitySavedCommand | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
| __construct | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 2 |
|||
| <?php | |
| /** | |
| * @file | |
| * Contains \Drupal\quickedit\Ajax\EntitySavedCommand. | |
| */ | |
| namespace Drupal\quickedit\Ajax; | |
| use Drupal\Core\Ajax\BaseCommand; | |
| /** | |
| * AJAX command to indicate the entity was loaded from PrivateTempStore and | |
| * saved into the database. | |
| */ | |
| class EntitySavedCommand extends BaseCommand { | |
| /** | |
| * Constructs a EntitySaveCommand object. | |
| * | |
| * @param string $data | |
| * The data to pass on to the client side. | |
| */ | |
| public function __construct($data) { | |
| parent::__construct('quickeditEntitySaved', $data); | |
| } | |
| } |