1, 'name' => 'completed', 'label' => ts('Completed'), ], [ 'id' => 2, 'name' => 'scheduled', 'label' => ts('Scheduled'), ], [ 'id' => 3, 'name' => 'in_progress', 'label' => ts('In Progress'), ], ]; } /** * Get the types Import Jobs. * * This is largely a placeholder at this stage. It will likely wind * up as an option value so extensions can add different types. * * However, for now it just holds the one type being worked on. * * @return array */ public static function getTypes(): array { return [ [ 'id' => 1, 'name' => 'contact_import', 'label' => ts('Contact Import'), ], ]; } }