You are here

public static function FieldHelper::getEntityReferencingFieldColumns in Helper 7

2 calls to FieldHelper::getEntityReferencingFieldColumns()
FieldHelper::getFieldEntities in lib/FieldHelper.php
FieldHelperTestCase::testGetReferencingFields in tests/FieldHelperTestCase.test
Tests FieldHelper::getEntityReferencingFields() and FieldHelper::getEntityReferencingFieldColumns().

File

lib/FieldHelper.php, line 147

Class

FieldHelper

Code

public static function getEntityReferencingFieldColumns($field_name) {
  $results = static::getEntityReferencingFields();
  return !empty($results[$field_name]) ? $results[$field_name] : FALSE;
}