These were semi-removed in favor of starting over from scratch and refactoring how they were used.

To use:

    $slides = [];
    $slides[] = [
      'image' => ['#theme' => 'image', '#uri' => 'http://lorempixel.com/1000/400/?1'],
      'title' => t('Title Slide 1'),
      'description' => t('Description Slide 1'),
    ];
    $slides[] = [
      'image' => ['#theme' => 'image', '#uri' => 'http://lorempixel.com/1000/400/?2'],
      'title' => t('Title Slide 2'),
      'description' => t('Description Slide 2'),
    ];
    $slides[] = [
      'image' => ['#theme' => 'image', '#uri' => 'http://lorempixel.com/1000/400/?3'],
      'title' => t('Title Slide 3'),
      'description' => t('Description Slide 3'),
    ];
    $build['carousel'] = [
      '#theme' => 'bootstrap_carousel',
      '#attributes' => [],
      '#controls' => TRUE,
      '#id' => NULL,
      '#indicators' => TRUE,
      '#interval' => 5000,
      '#pause' => 'hover',
      '#slides' => $slides,
      '#start_index' => 0,
      '#wrap' => TRUE,
    ];

Comments

markhalliwell’s picture

Title: Update bootstrap custom themes » Update Bootstrap custom theme hooks
markhalliwell’s picture

Title: Update Bootstrap custom theme hooks » Add back bootstrap_carousel and bootstrap_modal theme hooks/templates
Assigned: m1r1k » Unassigned
Category: Task » Feature request
Issue summary: View changes
Related issues: +#2632718: Refactor bootstrap_panel, +#2634354: Fix dropbuttons
markhalliwell’s picture

Title: Add back bootstrap_carousel and bootstrap_modal theme hooks/templates » Add back bootstrap_carousel

  • markcarver committed 9a16d86 on 8.x-3.x
    Issue #2266069 by markcarver: Add back bootstrap_carousel
    
markhalliwell’s picture

Status: Active » Fixed
markhalliwell’s picture

Issue summary: View changes

  • markcarver committed b47a268 on 8.x-3.x
    Issue #2266069 by markcarver: Add back bootstrap_carousel
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.