public function FlagInterface::setGlobal in Flag 8.4
Sets the flag as global or not.
Parameters
bool $global: TRUE to mark the flag as global, FALSE for the default behavior.
See also
\Drupal\flag\Entity\Flag::isGlobal()
1 method overrides FlagInterface::setGlobal()
- Flag::setGlobal in src/
Entity/ Flag.php - Sets the flag as global or not.
File
- src/
FlagInterface.php, line 152
Class
- FlagInterface
- Defines the interface for Flag entities.
Namespace
Drupal\flagCode
public function setGlobal($global);