QuickEditController::renderField

protected QuickEditController::renderField(EntityInterface $entity, $field_name, $langcode, $view_mode_id) Renders a field. If the view mode ID is not an Entity Display view mode ID, then the field was rendered using a custom render pipeline (not the Entity/Field API render pipeline). An example could be Views' render pipeline. In that case, the view mode ID would probably contain the View's ID, display and the row index. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity being

QuickEditController::metadata

public QuickEditController::metadata(Request $request) Returns the metadata for a set of fields. Given a list of field quick edit IDs as POST parameters, run access checks on the entity and field level to determine whether the current user may edit them. Also retrieves other metadata. Return value \Symfony\Component\HttpFoundation\JsonResponse The JSON response. File core/modules/quickedit/src/QuickEditController.php, line 94 Class QuickEditController Returns responses for Quick Edit modu

QuickEditController::fieldForm

public QuickEditController::fieldForm(EntityInterface $entity, $field_name, $langcode, $view_mode_id, Request $request) Returns a single field edit form as an Ajax response. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity being edited. string $field_name: The name of the field that is being edited. string $langcode: The name of the language for which the field is being edited. string $view_mode_id: The view mode the field should be rerendered in. \Symfony\Component\HttpFound

QuickEditController::entitySave

public QuickEditController::entitySave(EntityInterface $entity) Saves an entity into the database, from PrivateTempStore. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity being edited. Return value \Drupal\Core\Ajax\AjaxResponse The Ajax response. File core/modules/quickedit/src/QuickEditController.php, line 285 Class QuickEditController Returns responses for Quick Edit module routes. Namespace Drupal\quickedit Code public function entitySave(EntityInterface $entity

QuickEditController::create

public static QuickEditController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The serv

QuickEditController::attachments

public QuickEditController::attachments(Request $request) Returns AJAX commands to load in-place editors' attachments. Given a list of in-place editor IDs as POST parameters, render AJAX commands to load those in-place editors. Return value \Drupal\Core\Ajax\AjaxResponse The Ajax response. File core/modules/quickedit/src/QuickEditController.php, line 145 Class QuickEditController Returns responses for Quick Edit module routes. Namespace Drupal\quickedit Code public function attachment

QuickEditController::$tempStoreFactory

The PrivateTempStore factory. Type: \Drupal\user\PrivateTempStoreFactory File core/modules/quickedit/src/QuickEditController.php, line 30 Class QuickEditController Returns responses for Quick Edit module routes. Namespace Drupal\quickedit Code protected $tempStoreFactory;

QuickEditController::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/quickedit/src/QuickEditController.php, line 51 Class QuickEditController Returns responses for Quick Edit module routes. Namespace Drupal\quickedit Code protected $renderer;

QuickEditController::$metadataGenerator

The in-place editing metadata generator. Type: \Drupal\quickedit\MetadataGeneratorInterface File core/modules/quickedit/src/QuickEditController.php, line 37 Class QuickEditController Returns responses for Quick Edit module routes. Namespace Drupal\quickedit Code protected $metadataGenerator;

QuickEditController::$editorSelector

The in-place editor selector. Type: \Drupal\quickedit\EditorSelectorInterface File core/modules/quickedit/src/QuickEditController.php, line 44 Class QuickEditController Returns responses for Quick Edit module routes. Namespace Drupal\quickedit Code protected $editorSelector;