Problem/Motivation

Doing this isn't very useful, since the services cache the data anyway.

    $this->bundleInfos = $entity_type_bundle_info->getAllBundleInfo();
    $this->entityDefinitions = $entity_type_manager->getDefinitions();

Also, we only need ONE entity type definition, and the bundle info for one bundle, so there's even less point in getting all of them.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

joachim created an issue. See original summary.

tanushree gupta’s picture

Assigned: Unassigned » tanushree gupta

Working on it!!

tanushree gupta’s picture

Assigned: tanushree gupta » Unassigned
Status: Active » Needs review

  • joachim committed cae66bfd on 4.0.x
    [#3548655] chore: removed storing of data from other services in...

  • joachim committed d440801d on 8.x-3.x
    [#3548655] chore: removed storing of data from other services in...
joachim’s picture

Status: Needs review » Fixed

Committed. Thanks!

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.