public function exist($id) {
    $entity = $this->entityQuery->get('site_commerce_type')
      ->condition('id', $id)
      ->execute();
    return (bool) $entity;
  }
public function exist($id) {
    $entity = $this->entityQuery->get('site_commerce_type')
      ->condition('id', $id)
      ->execute();
    return (bool) $entity;
  }
public function exist ( $ id ) { $ entity = $ this -> entityQuery -> get ( 'site_commerce_type' ) -> condition ( 'id' , $ id ) -> execute ( ) ; return ( bool ) $ entity ; }
Helper function to check whether an SiteCommerceType configuration entity exists.
Helper function to check whether an SiteCommerceType configuration entity exists .