Mercurial > hg > isophonics-drupal-site
comparison core/modules/quickedit/src/Ajax/EntitySavedCommand.php @ 0:4c8ae668cc8c
Initial import (non-working)
author | Chris Cannam |
---|---|
date | Wed, 29 Nov 2017 16:09:58 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4c8ae668cc8c |
---|---|
1 <?php | |
2 | |
3 namespace Drupal\quickedit\Ajax; | |
4 | |
5 use Drupal\Core\Ajax\BaseCommand; | |
6 | |
7 /** | |
8 * AJAX command to indicate the entity was loaded from PrivateTempStore and | |
9 * saved into the database. | |
10 */ | |
11 class EntitySavedCommand extends BaseCommand { | |
12 | |
13 /** | |
14 * Constructs a EntitySaveCommand object. | |
15 * | |
16 * @param string $data | |
17 * The data to pass on to the client side. | |
18 */ | |
19 public function __construct($data) { | |
20 parent::__construct('quickeditEntitySaved', $data); | |
21 } | |
22 | |
23 } |