getKeyword Method

This method will get keyword string from setKeyword method.

Basic Usage

Here is the basic usage of getKeyword method.

getKeyword(): void


getKeyword method has no parameter required.

Example Usage

Usually this method called inside a layout file. Here is the basic example for getKeyword method. Here is the content of col-1.php layout file.

<!DOCTYPE html>
  <meta name="keyword" content="<?php echo $this->getKeyword(); ?>"/>