Tripal
4.x

Contents:

  • How to Install Tripal
  • Building your Site
  • Guiding your Users
  • Site Administration
  • Extending Tripal
    • Object-Oriented Development
    • Controlled Vocabularies (CVs)
    • Biological Data Storage
    • Custom Module Development
      • Module File Structure
      • Menus, Links and URLs
      • Plugins and Services (Building blocks)
      • Pages and Page Types
      • Fields (Content building blocks)
      • Forms (user input)
      • Jobs (longer-running tasks)
      • Error Reporting and Logging
      • Views (content listings)
      • Configuration Variables
      • Theme (display)
      • Caching (performance)
      • Alternate Database Backends
    • Deprecations in Tripal 4.x
    • Automated Testing
    • Hands-On Training
  • Upgrading Tripal
  • Contributing to Core Tripal
  • Design Documentation
Tripal
  • Extending Tripal
  • Custom Module Development
  • View page source

Custom Module Development

Tripal is an extension of the Drupal Content Management System. Drupal 10 is written in PHP, is very object oriented and uses technology standards such as Composer, Symphony, YAML and Twig. This documentation is meant to act as an orientation to Tripal development in Drupal 10 and will link to additional Drupal-specific tutorials for specific topics.

Contents:

  • Module File Structure
    • Choosing a module name
    • Prepare a module skeleton
    • Directory Structure
  • Menus, Links and URLs
    • Menu Items
    • Links
  • Plugins and Services (Building blocks)
    • What is a plugin?
    • What is a service?
  • Pages and Page Types
  • Fields (Content building blocks)
    • Tripal Field Overview
    • Field Types
    • Field Formatters
    • Field Widgets
    • Add Fields to Content Types
    • Non-Chado Field Storage
  • Forms (user input)
  • Jobs (longer-running tasks)
    • Register a Tripal Job
    • Get information about a job
  • Error Reporting and Logging
    • Tripal Logger
  • Views (content listings)
  • Configuration Variables
  • Theme (display)
  • Caching (performance)
  • Alternate Database Backends
    • Tripal Vocabularies, IDSpaces and Terms
Previous Next

© Copyright 2009-2026, Tripal Project Management Committee with the help of the Tripal Community.

Built with Sphinx using a theme provided by Read the Docs.