public function DatabaseSchemaInterface::fieldNames in Schema 8
Return an array of field names from an array of key/index column specifiers.
This is usually an identity function but if a key/index uses a column prefix specification, this function extracts just the name.
Parameters
$fields: An array of key/index column specifiers.
Return value
An array of field names.
File
- src/
DatabaseSchemaInterface.php, line 353 - Contains Drupal\schema\DatabaseSchemaInterface.
Class
- DatabaseSchemaInterface
- This interface describes public methods of \Drupal\Core\Database\Schema.
Namespace
Drupal\schemaCode
public function fieldNames($fields);