Skip to main content

Filter: gk/gravityview/edit-entry/user-can-edit-field

Filters whether the current user can bulk-edit a configured field.

This mirrors Edit Entry's field-level capability check.

Parameters​

NameTypeDescription
$has_capboolWhether the current user has the field capability.
$settingarrayView field settings.
$entryarrayEntry being edited, or empty during action rendering.
$view\ViewView.

Since​

  • 3.0.0

Source​

  • Defined in src/Entry/BulkActions/Actions/BulkEditAction.php at line 1530
  • Defined in src/Extension/EditEntry/EditEntryRender.php at line 3356