PHP code example of remp / crm-privatbankar-module

1. Go to this page and download the library: Download remp/crm-privatbankar-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

remp / crm-privatbankar-module example snippets


    public function registerWidgets(\Crm\ApplicationModule\Widget\WidgetManagerInterface $widgetManager)
    {
        $widgetManager->registerWidget(
            'privatbankar.return.pending',
            $this->getInstance(CustomConfirmationWidget::class),
            200
        );
    }
    

    public function registerWidgets(\Crm\ApplicationModule\Widget\WidgetManagerInterface $widgetManager)
    {
        $widgetManager->removeWidget(
            'privatbankar.return.pending',
            $this->getInstance(\Crm\PrivatbankarModule\Components\ConfirmationPendingWidget::class)
        );
    }
    
bash
php bin/command.php application:seed