public function mapEntity(Entity $entity) {
		$entity['_loc'] = $this->_table->getUrl($entity);
		$entity['_lastmod'] = $entity->{$this->_config['lastmod']};
		$entity['_changefreq'] = $this->_config['changefreq'];
		$entity['_priority'] = $this->_config['priority'];

		return $entity;
	}
public function mapEntity(Entity $entity) {
		$entity['_loc'] = $this->_table->getUrl($entity);
		$entity['_lastmod'] = $entity->{$this->_config['lastmod']};
		$entity['_changefreq'] = $this->_config['changefreq'];
		$entity['_priority'] = $this->_config['priority'];

		return $entity;
	}
public function mapEntity ( Entity $ entity ) { $ entity [ '_loc' ] = $ this -> _table -> getUrl ( $ entity ) ; $ entity [ '_lastmod' ] = $ entity -> { $ this -> _config [ 'lastmod' ] } ; $ entity [ '_changefreq' ] = $ this -> _config [ 'changefreq' ] ; $ entity [ '_priority' ] = $ this -> _config [ 'priority' ] ; return $ entity ; }
Modify an entity with new `_` fields for the Sitemap display.

@param \Cake\ORM\Entity $entity The entity being modified.
@return \Cake\ORM\Entity Returns the modified entity.
Modify an entity with new _ fields for the Sitemap display .