Skip to content
Snippets Groups Projects
Select Git revision
  • a3da1483a9e689846179159355badfec8073dbec
  • main default protected
  • studip-rector
  • ci-opt
  • course-members-export-as-word
  • data-vue-app
  • pipeline-improvements
  • webpack-optimizations
  • rector
  • icon-renewal
  • http-client-and-factories
  • jsonapi-atomic-operations
  • vueify-messages
  • tic-2341
  • 135-translatable-study-areas
  • extensible-sorm-action-parameters
  • sorm-configuration-trait
  • jsonapi-mvv-routes
  • docblocks-for-magic-methods
19 results

FileRefsContentUpdate.php

Blame
  • Forked from Stud.IP / Stud.IP
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    CoursewarePlugin.php 1.06 KiB
    <?php
    
    namespace Courseware;
    
    /**
     * Interface for a courseware plugin.
     *
     * @author  Marcus Eibrink-Lunzenauer <lunzenauer@elan-ev.de>
     * @license GPL2 or any later version
     *
     * @since   Stud.IP 5.0
     */
    interface CoursewarePlugin
    {
        /**
         * Implement this method to register more block types.
         *
         * You get the current list of block types and must return an updated list
         * containing your own block types.
         *
         * @param array $otherBlockTypes the current list of block types
         *
         * @return array the updated list of block types
         */
        public function registerBlockTypes(array $otherBlockTypes): array;
    
        /**
         * Implement this method to register more container types.
         *
         * You get the current list of container types and must return an updated list
         * containing your own container types.
         *
         * @param array $otherContainerTypes the current list of container types
         *
         * @return array the updated list of container types
         */
        public function registerContainerTypes(array $otherContainerTypes): array;
    }