You are here

public function FaqAskUnansweredBlock::build in FAQ_Ask 8

Implements \Drupal\block\BlockBase::blockBuild().

Overrides BlockPluginInterface::build

File

src/Plugin/Block/FaqAskUnansweredBlock.php, line 26
Contains \Drupal\faq_ask\Plugin\Block\FaqAskUnansweredBlock.

Class

FaqAskUnansweredBlock
Provides a simple block.

Namespace

Drupal\faq_ask\Plugin\Block

Code

public function build() {
  return array(
    '#markup' => Utility::faqAskListUnanswered(10),
  );
}