You are here

public function SocialBlockBase::getInvalidConfigurationWarning in Social Feed 8

Returns a message.

Return value

\Drupal\Core\StringTranslation\TranslatableMarkup The form confirmation text.

1 call to SocialBlockBase::getInvalidConfigurationWarning()
SocialBlockBase::blockFormElementStates in src/Plugin/Block/SocialBlockBase.php
Apply state based on the override field.

File

src/Plugin/Block/SocialBlockBase.php, line 146

Class

SocialBlockBase
Abstract base class SocialBlockBase.

Namespace

Drupal\socialfeed\Plugin\Block

Code

public function getInvalidConfigurationWarning() {
  return $this
    ->t('Social media feed configuration is missing or is incomplete. Please contact your site administrator.');
}