Loads a quicktabs_instance from configuration and returns it.
Parameters
string $id: The qti ID to load.
Return value
\Drupal\quicktabs\Entity\QuickTabsInstance The loaded entity.
File
- 
              src/
Entity/ QuickTabsInstance.php, line 177  
Class
- QuickTabsInstance
 - Defines the QuickTabsInstance entity.
 
Namespace
Drupal\quicktabs\EntityCode
public static function getQuickTabsInstance($id) {
    $qt = \Drupal::service('entity_type.manager')->getStorage('quicktabs_instance')
        ->load($id);
    return $qt;
}