🇮🇳India @Dharmendra.s

Delhi India
Account created on 20 August 2011, over 13 years ago
#

Recent comments

🇮🇳India Dharmendra.s Delhi India

The patches are already there in the branch 8.x-1.3, that's why its failed.

$ git apply -v 3186119-1.patch
Checking patch hero_block.info.yml...
error: while searching for:
name: Hero Block
description: A simple module to create Hero Image block.
core: 8.x
package: Content
dependencies:
- node

error: patch failed: hero_block.info.yml:1
error: hero_block.info.yml: patch does not apply
Checking patch src/Plugin/Block/HeroBlock.php...
error: while searching for:
$title = isset($config['btitle']) ? $config['btitle'] : '';
$sub_title = isset($config['sub_title']) ? $config['sub_title'] : '';
$hero_image = isset($config['hero_image']) ? $config['hero_image'] : '';
$file = file_load($hero_image[0]);
$logo_output = "";
if ($file) {
$get_uri = $file->get('uri')->getValue();

error: patch failed: src/Plugin/Block/HeroBlock.php:31
error: src/Plugin/Block/HeroBlock.php: patch does not apply

🇮🇳India Dharmendra.s Delhi India

So as per Drupal document the temporary directory should be outside the root folder.

Step 1 : Need to create a directory outside web root if does not exist. for my case i created on the root, like below.

Step -2 : need to update the same path in settings.local.php

$settings['file_temp_path'] = '/tmp';

It works for me.

🇮🇳India Dharmendra.s Delhi India

Patch #6 Working fine for me.

🇮🇳India Dharmendra.s Delhi India

@rajveer,
This feature mostly not used in all fields or major fields, That's why we did not include it in content type or entity label,
And it also support other entities like taxonomy,

🇮🇳India Dharmendra.s Delhi India

Hi Everyone, Thanks for review & help,
I fixed above coding standard issues and merged to the main branch, Please review again.

🇮🇳India Dharmendra.s Delhi India

Yes it was throwing the error on /admin/structure/views/view/taxonomy_term page , I update the code and working fine for me.
Please review the patch.

Production build 0.71.5 2024