public function TableMappingInterface::getFieldNames
public TableMappingInterface::getFieldNames($table_name)
Gets a list of names of fields stored in the specified table.
Parameters
string $table_name: The name of the table to return the field names for.
Return value
string[] An array of field names for the given table.
File
- core/lib/Drupal/Core/Entity/Sql/TableMappingInterface.php, line 56
Class
- TableMappingInterface
- Provides a common interface for mapping field columns to SQL tables.
Namespace
Drupal\Core\Entity\SqlCode
public function getFieldNames($table_name);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!Sql!TableMappingInterface.php/function/TableMappingInterface::getFieldNames/8.1.x