QuickEditEntityFieldAccessCheckInterface.php

Same filename in other branches
  1. 9 core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php

Namespace

Drupal\quickedit\Access

File

core/modules/quickedit/src/Access/QuickEditEntityFieldAccessCheckInterface.php

View source
<?php

namespace Drupal\quickedit\Access;

use Drupal\Core\Entity\EntityInterface;

/**
 * Access check for in-place editing entity fields.
 */
interface QuickEditEntityFieldAccessCheckInterface {
    
    /**
     * Checks access to edit the requested field of the requested entity.
     *
     * @param \Drupal\Core\Entity\EntityInterface $entity
     *   The entity.
     * @param string $field_name
     *   The field name.
     *
     * @return \Drupal\Core\Access\AccessResultInterface
     *   The access result.
     */
    public function accessEditEntityField(EntityInterface $entity, $field_name);

}

Interfaces

Title Deprecated Summary
QuickEditEntityFieldAccessCheckInterface Access check for in-place editing entity fields.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.