You are here

public function EntityFlagType::showAsField in Flag 8.4

Returns the show as field setting.

Return value

bool TRUE if the flag should appear as a psudofield, FALSE otherwise.

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

File

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

Class

EntityFlagType
Provides a flag type for all entity types.

Namespace

Drupal\flag\Plugin\Flag

Code

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