Skip to content

Instantly share code, notes, and snippets.

@jazzslider
Created April 10, 2017 19:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jazzslider/0a00f79c17f5f746d5053a2f172bff56 to your computer and use it in GitHub Desktop.
Save jazzslider/0a00f79c17f5f746d5053a2f172bff56 to your computer and use it in GitHub Desktop.
lotus.services.yml
services:
lotus.old_nodes:
class: \Drupal\lotus\OldNodesService
arguments: ["@entity_type.manager"]
@vjain1887
Copy link

Why it is mentioned as @entity_tye.manager ? why not create a instance of EntityTyeManager

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment