You are here

public function ACKEntityField::description in Access Control Kit 7

Overrides AccessControlKitHandler::description().

Overrides AccessControlKitHandler::description

1 method overrides ACKEntityField::description()
ACKEntityTaxonomyTermReference::description in handlers/ack_entity_taxonomy_term_reference.inc
Overrides ACKEntityField::description().

File

handlers/ack_entity_field.inc, line 39
Contains the handler class for Field API fields on entities.

Class

ACKEntityField
Controls access to a fieldable entity based on a Field API field.

Code

public function description() {
  if (isset($this->fieldName)) {
    return t('The value of %field_name will determine realm membership.', array(
      '%field_name' => $this->fieldName,
    ));
  }
  else {
    return t('The value of the selected field will determine realm membership.');
  }
}