public function RealEstate::setLocation in Styled Google Map 8.2
Sets the Real estate location.
Parameters
array $location: The Real estate location as array('lat' => ..., 'lon' => ...).
Return value
\Drupal\styled_google_map_demo\Entity\RealEstateInterface The called Real estate entity.
Overrides RealEstateInterface::setLocation
File
- modules/
demo/ src/ Entity/ RealEstate.php, line 110
Class
- RealEstate
- Defines the Real estate entity.
Namespace
Drupal\styled_google_map_demo\EntityCode
public function setLocation($location) {
$this
->set('location', $location);
return $this;
}