src/View/Helper/CommonHelper.php
public function metaKeywords($keywords = null, $language = null, $escape = true) {
		if ($keywords === null) {
			$keywords = Configure::read('Config.keywords');
		}
		if (is_array($keywords)) {
			$keywords = implode(', ', $keywords);
		}
		if ($escape) {
			$keywords = h($keywords);
		}
		$options = [];
		if (!empty($language)) {
			$options['lang'] = mb_strtolower($language);
		} elseif ($language !== false) {
			$options['lang'] = Configure::read('Config.locale');
		}
		return $this->Html->meta('keywords', $keywords, $options);
	}
public function metaKeywords($keywords = null, $language = null, $escape = true) {
		if ($keywords === null) {
			$keywords = Configure::read('Config.keywords');
		}
		if (is_array($keywords)) {
			$keywords = implode(', ', $keywords);
		}
		if ($escape) {
			$keywords = h($keywords);
		}
		$options = [];
		if (!empty($language)) {
			$options['lang'] = mb_strtolower($language);
		} elseif ($language !== false) {
			$options['lang'] = Configure::read('Config.locale');
		}
		return $this->Html->meta('keywords', $keywords, $options);
	}
public function metaKeywords ( $ keywords = null , $ language = null , $ escape = true ) { if ( $ keywords === null ) { $ keywords = Configure :: read ( 'Config.keywords' ) ; } if ( is_array ( $ keywords ) ) { $ keywords = implode ( ', ' , $ keywords ) ; } if ( $ escape ) { $ keywords = h ( $ keywords ) ; } $ options = [ ] ; if ( ! empty ( $ language ) ) { $ options [ 'lang' ] = mb_strtolower ( $ language ) ; } elseif ( $ language !== false ) { $ options [ 'lang' ] = Configure :: read ( 'Config.locale' ) ; } return $ this -> Html -> meta ( 'keywords' , $ keywords , $ options ) ; }
Convenience method to output meta keywords

@param string|array|null $keywords
@param string|null $language (iso2: de, en-us, ...)
@param bool $escape
@return string HTML Markup
Convenience method to output meta keywords