You are here

function _quickedit_is_extra_field in Quick Edit 7

Indicates whether a field is an "extra field".

Parameters

$entity_type: Machine name of the entity.

$field_name: Entity's field name that is being checked.

Return value

bool

See also

hook_quickedit_extra_field_info()

6 calls to _quickedit_is_extra_field()
EditEntityFieldAccessCheck::accessEditEntityField in includes/EditEntityFieldAccessCheck.php
Implements EditEntityFieldAccessCheckInterface::accessEditEntityField().
QuickEditMetadataGenerator::generateFieldMetadata in includes/QuickEditMetadataGenerator.php
Implements QuickEditMetadataGeneratorInterface::generateFieldMetadata().
quickedit_field_edit in includes/pages.inc
Page callback: Returns a single field edit form as an Ajax response.
quickedit_field_form_simplify in includes/pages.inc
Removes unneeded elements from the field from.
quickedit_metadata in includes/pages.inc
Page callback: Returns the metadata for a set of fields.

... See full list

File

./quickedit.module, line 408
Provides in-place content editing functionality for fields.

Code

function _quickedit_is_extra_field($entity_type, $field_name) {
  $extra_fields = quickedit_extra_field_info();
  return isset($extra_fields[$entity_type][$field_name]);
}