Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DefaultTableMapping.php

function DefaultTableMapping::getAllFieldTableNames

Overrides TableMappingInterface::getAllFieldTableNames

File

core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php, line 404

Class

DefaultTableMapping
Defines a default table mapping class.

Namespace

Drupal\Core\Entity\Sql

Code

public function getAllFieldTableNames($field_name) {
    return array_keys(array_filter($this->fieldNames, function ($table_fields) use ($field_name) {
        return in_array($field_name, $table_fields, TRUE);
    }));
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal