You are here

public function MapType::getMapBehaviors in farmOS 2.x

Returns behaviors to add to the map.

Return value

string[] The list of map behaviors.

Overrides MapTypeInterface::getMapBehaviors

File

modules/core/map/src/Entity/MapType.php, line 92

Class

MapType
Defines the MapType config entity.

Namespace

Drupal\farm_map\Entity

Code

public function getMapBehaviors() {
  return $this->behaviors ?? [];
}