- Status changed to Needs work
over 1 year ago 5:41pm 1 May 2023 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
+/** + * @file + * Description. + */ +
That is not the correct short description for a module file.
* @return \Drupal\layoutcomponents\LcLayoutRender + * Description for the return value. */ public function getLayout() {
That is not the return value description.
- //$build['layout_settings']['container']['section']['sub_section'] = $sub_section; - + // $build['layout_settings']['container']['section']['sub_section'] = + // $sub_section;
The existing commented-out code is correct as it is. There is only a missing space after the comment delimiter.
/** * Set the region content. * - * @param $region + * @param array $region
Since that documentation comment is changed, the verb in the short description must be changed to use the third singular person.
- public function getDefaultColumnOption($type) { + public function getDefaultColumnOption(numeric $type) {
numeric
is not a PHP type that can be used in defining parameters.+ * @param bool $isSubregion + * The bool.
That does not describe the parameter.
- ๐ฎ๐ณIndia pray_12
Preethy_ray โ made their first commit to this issueโs fork.
- Assigned to nitin_lama
- ๐ฎ๐ณIndia nitin_lama India
Patch #2 doesn't applies on 3.0.x branch. Providing the updated patch. Updating the IS with the remaining issues.
@preethy_ray moving forward please provide a patch for the issues you have worked on.
- Issue was unassigned.
Hi,
Tested the #8 patch, patch does not apply and throws following errors.Checking patch src/LcLayoutRender.php...
Hunk #1 succeeded at 327 (offset 1 line).
Checking patch src/LcLayoutsManager.php...
warning: src/LcLayoutsManager.php has type 100644, expected 100755
Checking patch src/LcTheme.php...
warning: src/LcTheme.php has type 100644, expected 100755
error: while searching for:
use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
use Drupal\Core\Layout\LayoutPluginManager;
use Drupal\Core\Routing\RouteMatchInterface;
use Drupal\node\Entity\Node;
use Symfony\Component\DependencyInjection\ContainerInterface;error: patch failed: src/LcTheme.php:5
error: src/LcTheme.php: patch does not apply
Checking patch src/Plugin/Layout/LcBase.php...
warning: src/Plugin/Layout/LcBase.php has type 100644, expected 100755- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
apaderno โ changed the visibility of the branch 3.0.x to hidden.