@divyansh, Please check once with following drupal version .
Module version: 3.1.0
Drupal version: 10.3.6
shashank5563 → created an issue.
Drupal 11 is already deployed.
Hi Anish, Your code is merge in 8.x-1.x-dev Branch. Please review once at your end as well.
access check has been added in latest release.
This issue has been fixed. Please test and confirm.
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.
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.
I am also experiencing the issue. Can you please address this in the latest release?
shashank5563 → created an issue.
@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.
shashank5563 → created an issue.
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.
@shabana.navas, Please raise a MR for it.
@malcomio, 8.x-3.0-alpha16 version has beed released.
@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
@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.
@duckydan, you can get it from chargebee. but it is not required. you just need api key from chargebee.
@venkatadapa, Thank you, I have tested this on my project and found it is working as expected.
I am moving it for RTBC.
@malcomlo, Your MR is merged in 8.x-3.x-dev branch.
@msnassar, Thank you for your support.
I want to pass parent group id if group have parent. I want plugin with group content menu block like this screenshot.
<?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;
}
}
shashank5563 → created an issue.
@shalini_jha, Please create a patch for it.
shashank5563 → created an issue.
I have created a patch as well.
I have create a patch and tested on my system. it is working fine.
shashank5563 → created an issue.
@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.