public function FlagServiceInterface::unflagAllByEntity in Flag 8.4
Remove all flaggings from an entity.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: The entity object.
1 method overrides FlagServiceInterface::unflagAllByEntity()
- FlagService::unflagAllByEntity in src/
FlagService.php - Remove all flaggings from an entity.
File
- src/
FlagServiceInterface.php, line 270
Class
- FlagServiceInterface
- Flag service interface.
Namespace
Drupal\flagCode
public function unflagAllByEntity(EntityInterface $entity);