Example #1
0
 /**
  * @param ContentEntity $contentEntity
  * @return bool
  */
 public function isMedia(ContentEntity $contentEntity)
 {
     if ($contentEntity->getMedia()->count() == 0) {
         return false;
     }
     return true;
 }