Skip to content

Refactoring election. See issue-60.#61

Open
dianaalinairimie wants to merge 2 commits intodrupalro:sprintfrom
dianaalinairimie:issue-60
Open

Refactoring election. See issue-60.#61
dianaalinairimie wants to merge 2 commits intodrupalro:sprintfrom
dianaalinairimie:issue-60

Conversation

@dianaalinairimie
Copy link
Copy Markdown
Contributor

No description provided.

@dianaalinairimie dianaalinairimie force-pushed the issue-60 branch 2 times, most recently from 962a2c7 to cecd5f7 Compare September 13, 2017 08:25
services:
da_poll.service:
class: Drupal\da_poll\Controller\PollController
arguments: []
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there are no arguments for the service, then there's no need to add it.

* An array suitable for drupal_render().
*/
public function revisionShow($da_poll_revision) {
$da_poll = $this->entityManager()
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The entity manager service is deprecated. Please inject the entity type manager and use that.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants