function DefaultTableMapping::getAllFieldTableNames

Same name in other branches
  1. 10 core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php \Drupal\Core\Entity\Sql\DefaultTableMapping::getAllFieldTableNames()
  2. 11.x core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php \Drupal\Core\Entity\Sql\DefaultTableMapping::getAllFieldTableNames()

Overrides TableMappingInterface::getAllFieldTableNames

File

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

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);
    }));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.