You are here

public function EntityFlagType::showOnForm in Flag 8.4

Returns the show on form setting.

Return value

bool TRUE if the flag should appear on the entity form, FALSE otherwise.

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

File

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

Class

EntityFlagType
Provides a flag type for all entity types.

Namespace

Drupal\flag\Plugin\Flag

Code

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