function layout_builder_quickedit_render_field

Same name and namespace in other branches
  1. 9 core/modules/quickedit/quickedit.module \layout_builder_quickedit_render_field()

Implements hook_quickedit_render_field().

File

core/modules/layout_builder/layout_builder.module, line 353

Code

function layout_builder_quickedit_render_field(EntityInterface $entity, $field_name, $view_mode_id, $langcode) {
    
    /** @var \Drupal\layout_builder\QuickEditIntegration $quick_edit_integration */
    $quick_edit_integration = \Drupal::classResolver(QuickEditIntegration::class);
    return $quick_edit_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.