You are here

public function EntityFlagType::showContextualLink in Flag 8.4

Returns the show on contextual link setting.

Return value

bool TRUE if the flag should appear in contextual links, FALSE otherwise.

1 call to EntityFlagType::showContextualLink()
EntityFlagType::buildConfigurationForm in src/Plugin/Flag/EntityFlagType.php
Provides a form for this action link plugin settings.

File

src/Plugin/Flag/EntityFlagType.php, line 245

Class

EntityFlagType
Provides a flag type for all entity types.

Namespace

Drupal\flag\Plugin\Flag

Code

public function showContextualLink() {
  return $this->configuration['show_contextual_link'];
}