daily pastebin goal
74%
SHARE
TWEET

Untitled

a guest Oct 20th, 2018 67 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1.   public function getExporter() {
  2.     if (empty($this->exporter)) {
  3.       if (class_exists($this->info['exporter class'])) {
  4.         $reflection = new \ReflectionClass($this->info['exporter class']);
  5.         if ($reflection->implementsInterface('Drupal\ctools\ExporterInterface')) {
  6.           $this->exporter = $reflection->newInstance();
  7.         }
  8.         else {
  9.           return FALSE;
  10.         }
  11.       }
  12.       else {
  13.         return FALSE;
  14.       }
  15.     }
  16.  
  17.     return $this->exporter;
  18.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top