You are here

private function WeatherCommands::store in Weather 8

Same name and namespace in other branches
  1. 2.0.x src/Commands/WeatherCommands.php \Drupal\weather\Commands\WeatherCommands::store()

Save.

1 call to WeatherCommands::store()
WeatherCommands::add in src/Commands/WeatherCommands.php
Add.

File

src/Commands/WeatherCommands.php, line 71

Class

WeatherCommands
Drush command to add support to weather module (import weather csv file).

Namespace

Drupal\weather\Commands

Code

private function store() {
  return \Drupal::service('entity_type.manager')
    ->getStorage('weather_place');
}