You are here

service flag in Flag 8.4

Class

Drupal\flag\FlagService
65 string references to flag
AccessTest::setUp in tests/src/Kernel/AccessTest.php
ActionLinkController::create in src/Controller/ActionLinkController.php
Instantiates a new instance of this class.
ActionLinkNoJsController::create in src/Controller/ActionLinkNoJsController.php
Instantiates a new instance of this class.
ActionLinkTypeBase::getAction in src/ActionLink/ActionLinkTypeBase.php
Helper method to get the next flag action the user can take.
AjaxLinkNoJsTest::setUp in tests/src/Functional/AjaxLinkNoJsTest.php

... See full list

File

./flag.services.yml
flag.services.yml

View source
  1. class: Drupal\flag\FlagService
  2. arguments:
  3. - '@current_user'
  4. - '@entity_type.manager'
  5. - '@session_manager'