public function FlaggingInterface::getFlag in Flag 8.4
Returns the parent flag entity.
Return value
\Drupal\Core\Entity\EntityInterface|\Drupal\flag\FlagInterface The flag related to this flagging.
1 method overrides FlaggingInterface::getFlag()
- Flagging::getFlag in src/
Entity/ Flagging.php - Returns the parent flag entity.
File
- src/
FlaggingInterface.php, line 27
Class
- FlaggingInterface
- The interface for flagging entities.
Namespace
Drupal\flagCode
public function getFlag();