code: protected function getOptions($label = false) // @codingStandardsIgnoreLine - required by parent class
      {
          $options = [];
          foreach ($this->_storeManager->getStores() as $store) {
              $options[] = [
                  'value' => $store->getId(),
                  'label' => $store->getName()
              ];
          }
  
          if ($label) {
              array_unshift($options, [
                  'value' => '',
                  'label' => $label
              ]);
          }
  
          return $options;
      }
docs: Get list of store views.
  
  @param bool|false $label
  @return array