return array_keys(array_filter($this->fieldNames,
function D
$table_fields) use ($field_name) { return in_array($field_name,
$table_fields, TRUE
);
}));
} /**
* {@inheritdoc}
*/
public function getColumnNames($field_name) { if (!
isset($this->columnMapping
[$field_name])) { $this->columnMapping
[$field_name] =
[];
if (isset($this->fieldStorageDefinitions
[$field_name]) && !
$this->fieldStorageDefinitions
[$field_name]->
hasCustomStorage()) { foreach (array_keys($this->fieldStorageDefinitions
[$field_name]->
getColumns()) as $property_name) { $this->columnMapping
[$field_name][$property_name] =
$this->
getFieldColumnName($this->fieldStorageDefinitions
[$field_name],
$property_name);
} } } return $this->columnMapping
[$field_name];
} /**
* {@inheritdoc}
*/