function layout_builder_quickedit_render_field
Same name in other branches
- 8.9.x core/modules/layout_builder/layout_builder.module \layout_builder_quickedit_render_field()
Implements hook_quickedit_render_field().
File
-
core/
modules/ quickedit/ quickedit.module, line 231
Code
function layout_builder_quickedit_render_field(EntityInterface $entity, $field_name, $view_mode_id, $langcode) {
/** @var \Drupal\quickedit\LayoutBuilderIntegration $layout_builder_integration */
$layout_builder_integration = \Drupal::classResolver(LayoutBuilderIntegration::class);
return $layout_builder_integration->quickEditRenderField($entity, $field_name, $view_mode_id, $langcode);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.