Commit e8fb3e6e authored by catch's avatar catch
Browse files

Issue #2059965 by swentel: Remove stale comment about FieldInfo::getFieldMap()...

Issue #2059965 by swentel: Remove stale comment about FieldInfo::getFieldMap() filtering data about unknown entity types.
parent 0c8fae0b
......@@ -201,8 +201,6 @@ public function getFieldMap() {
foreach (config_get_storage_names_with_prefix('field.instance.') as $config_id) {
$instance_config = $this->config->get($config_id)->get();
$field_uuid = $instance_config['field_uuid'];
// Filter out instances of inactive fields, and instances on unknown
// entity types.
if (isset($fields[$field_uuid])) {
$field = $fields[$field_uuid];
$map[$instance_config['entity_type']][$field['name']]['bundles'][] = $instance_config['bundle'];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment