src/View/Helper/CommonHelper.php
public function metaCanonical($url = null, $full = false) {
		$canonical = $this->Url->build($url, $full);
		$options = ['rel' => 'canonical', 'link' => $canonical];
		return $this->Html->meta($options);
	}
public function metaCanonical($url = null, $full = false) {
		$canonical = $this->Url->build($url, $full);
		$options = ['rel' => 'canonical', 'link' => $canonical];
		return $this->Html->meta($options);
	}
public function metaCanonical ( $ url = null , $ full = false ) { $ canonical = $ this -> Url -> build ( $ url , $ full ) ; $ options = [ 'rel' => 'canonical' , 'link' => $ canonical ] ; return $ this -> Html -> meta ( $ options ) ; }
Convenience function for "canonical" SEO links

@param string|array|null $url
@param bool $full
@return string HTML Markup
Convenience function for canonical SEO links