Merge Requests

Recent comments

🇮🇳India shashank5563 New Delhi

Hi Anish, Your code is merge in 8.x-1.x-dev Branch. Please review once at your end as well.

🇮🇳India shashank5563 New Delhi

access check has been added in latest release.

🇮🇳India shashank5563 New Delhi

This issue has been fixed. Please test and confirm.

🇮🇳India shashank5563 New Delhi

Hi Mably,

I have checked your branch and saw lot of changes there.

Your code has been merged. Please check dev( https://www.drupal.org/project/audio_embed_field/releases/8.x-2.x-dev ) version.

Until, I will also testing your code in dev version.

🇮🇳India shashank5563 New Delhi

Hi Mably,

Your code has been merged. Please check dev( https://www.drupal.org/project/audio_embed_field/releases/8.x-2.x-dev ) version.

Until, I will also testing your code in dev version.

🇮🇳India shashank5563 New Delhi

I am also experiencing the issue. Can you please address this in the latest release?

🇮🇳India shashank5563 New Delhi

@venezonano, Yes, We are planing to update it. May be we will update it till next weak. If you have implemented anything, Please share that patch. so, we can deploy that.

🇮🇳India shashank5563 New Delhi

I am getting the following error:
TypeError: Unsupported operand types: string + int in Drupal\office_hours\OfficeHoursDateHelper::format() (line 158 of /modules/contrib/office_hours/src/OfficeHoursDateHelper.php).

1. How reproduce the issue.

1. Please see the screenshot and put the value same way.

1. Then click on save button.

🇮🇳India shashank5563 New Delhi

@malcomio, 8.x-3.0-alpha16 version has beed released.

🇮🇳India shashank5563 New Delhi

@naveenvalecha, I have tested with Group 3.x module, and found it is working as expected.
Please raised the released version of 3.0.x.

Thanks

🇮🇳India shashank5563 New Delhi

@bramtenhove, I am ready make it fully compatible with Group 3.x.
Because, I have done it one of my project today and it is working as expected.

Please give me permission to update the module.

🇮🇳India shashank5563 New Delhi

@duckydan, you can get it from chargebee. but it is not required. you just need api key from chargebee.

🇮🇳India shashank5563 New Delhi

@malcomlo, Your MR is merged in 8.x-3.x-dev branch.

🇮🇳India shashank5563 New Delhi

@msnassar, Thank you for your support.

🇮🇳India shashank5563 New Delhi

I want to pass parent group id if group have parent. I want plugin with group content menu block like this screenshot.

🇮🇳India shashank5563 New Delhi
<?php

declare(strict_types = 1);

namespace Drupal\mymodule\Plugin\GroupFinder;

use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\group\Entity\GroupInterface;
use Drupal\group_finder\GroupFinderBase;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpFoundation\RequestStack;

/**
 * Plugin finds group from media library opener.
 *
 * @GroupFinder(
 *   id = "group_content",
 *   label = @Translation("Media library opener"),
 *   description = @Translation("When in context of media library opener."),
 *   weight = 40,
 * )
 */
class GroupContent extends GroupFinderBase {

  /**
   * The group entity.
   *
   * @var \Drupal\group\Entity\GroupInterface
   */
  protected $group;

  /**
   * The request stack.
   *
   * @var \Symfony\Component\HttpFoundation\RequestStack
   */
  protected $requestStack;

  /**
   * GroupContent constructor.
   *
   * @param array $configuration
   *   Plugin configuration.
   * @param string $plugin_id
   *   Plugin id.
   * @param mixed $plugin_definition
   *   Plugin definition.
   * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
   *   The current route match.
   * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack
   *   The request stack used to retrieve the current request.
   */
  public function __construct(array $configuration, $plugin_id, $plugin_definition, RouteMatchInterface $route_match, RequestStack $request_stack) {
    parent::__construct($configuration, $plugin_id, $plugin_definition, $route_match);
    $this->requestStack = $request_stack;
  }

  /**
   * {@inheritdoc}
   */
  public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition): self {
    return new static(
      $configuration,
      $plugin_id,
      $plugin_definition,
      $container->get('current_route_match'),
      $container->get('request_stack'),
    );
  }

  /**
   * {@inheritdoc}
   */
  public function isApplicable(): bool {

    die('ddd');
    return FALSE;
  }

  /**
   * {@inheritdoc}
   */
  public function getGroup(): ?GroupInterface {
    return $this->group ?? NULL;
  }

}
🇮🇳India shashank5563 New Delhi

I have create a patch and tested on my system. it is working fine.

🇮🇳India shashank5563 New Delhi

@bramtenhove, I am ready make it fully Drupal 10 compatible.
Because, I have done it one of my project today and it is working as expcted.

Production build 0.71.5 2024