Commit 2ed489f7 authored by Dan Flanagan's avatar Dan Flanagan
Browse files

Issue #3267831 by danflanagan8: Layout Builder Boolean on Drupal 10

parent cb40c8d3
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@ name: Layout Builder Boolean
type: module
description: Provides Layouts with conditional displays.
package: Layout
core: 8.x
core_version_requirement: ^8 || ^9
core_version_requirement: ^9 || ^10
dependencies:
  - drupal:layout_builder
+1 −2
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@ name: Layout Builder Boolean Tests
description: "Provides test functionality for Layout Builder Boolean module."
package: Layout
type: module
core: 8.x
core_version_requirement: ^8 || ^9
core_version_requirement: ^9 || ^10
dependencies:
  - layout_builder_boolean:layout_builder_boolean
  - drupal:file
+1 −1
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ use Drupal\node\Entity\Node;
function layout_builder_boolean_tests_install() {

  // Make an image.
  $image_path = drupal_get_path('theme', 'stable') . '/images/core/druplicon.png';
  $image_path = 	\Drupal::service('extension.list.theme')->getPath('stable') . '/images/core/druplicon.png';
  file_put_contents('public://first.png', file_get_contents($image_path));
  $first_image = File::create([
    'uri' => 'public://first.png',