Beispiel #1
0
 protected function providerRecognizesChoice(tubepress_spi_media_MediaProviderInterface $provider, $choice)
 {
     $map = $provider->getMapOfFeedSortNamesToUntranslatedLabels();
     return isset($map[$choice]);
 }
 /**
  * {@inheritdoc}
  */
 public function providerRecognizesChoice(tubepress_spi_media_MediaProviderInterface $mp, $choice)
 {
     $metaNames = $mp->getMapOfMetaOptionNamesToAttributeDisplayNames();
     return array_key_exists($choice, $metaNames);
 }