public function RealEstateInterface::setCategory in Styled Google Map 8.2
Sets the Real estate category.
Parameters
\Drupal\taxonomy\TermInterface $category: The Real estate category.
Return value
\Drupal\styled_google_map_demo\Entity\RealEstateInterface The called Real estate entity.
1 method overrides RealEstateInterface::setCategory()
- RealEstate::setCategory in modules/
demo/ src/ Entity/ RealEstate.php - Sets the Real estate category.
File
- modules/
demo/ src/ Entity/ RealEstateInterface.php, line 73
Class
- RealEstateInterface
- Provides an interface for defining Real estate entities.
Namespace
Drupal\styled_google_map_demo\EntityCode
public function setCategory($category);