Skip to content
Snippets Groups Projects
Commit 413efa86 authored by Michael Lee's avatar Michael Lee
Browse files

Upgrading drupal/allowed_formats (1.5.0 => 2.0.0)

parent 4f6f09d1
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "b429493ac76543351aba292c1dede1ac",
"content-hash": "f95b1ee879161b7d7e127f62048bab46",
"packages": [
{
"name": "alchemy/zippy",
......@@ -1871,26 +1871,26 @@
},
{
"name": "drupal/allowed_formats",
"version": "1.5.0",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/allowed_formats.git",
"reference": "8.x-1.5"
"reference": "2.0.0"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/allowed_formats-8.x-1.5.zip",
"reference": "8.x-1.5",
"shasum": "dbf61bee7aec87beaa2cf307c1d0d9d5b896328c"
"url": "https://ftp.drupal.org/files/projects/allowed_formats-2.0.0.zip",
"reference": "2.0.0",
"shasum": "ac6c6d398f303608ced7e9cd9d4556a728dc41f0"
},
"require": {
"drupal/core": "^8.8 || ^9"
"drupal/core": "^9.2 || ^10"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.5",
"datestamp": "1648060331",
"version": "2.0.0",
"datestamp": "1669170410",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
......
......@@ -1940,27 +1940,27 @@
},
{
"name": "drupal/allowed_formats",
"version": "1.5.0",
"version_normalized": "1.5.0.0",
"version": "2.0.0",
"version_normalized": "2.0.0.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/allowed_formats.git",
"reference": "8.x-1.5"
"reference": "2.0.0"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/allowed_formats-8.x-1.5.zip",
"reference": "8.x-1.5",
"shasum": "dbf61bee7aec87beaa2cf307c1d0d9d5b896328c"
"url": "https://ftp.drupal.org/files/projects/allowed_formats-2.0.0.zip",
"reference": "2.0.0",
"shasum": "ac6c6d398f303608ced7e9cd9d4556a728dc41f0"
},
"require": {
"drupal/core": "^8.8 || ^9"
"drupal/core": "^9.2 || ^10"
},
"type": "drupal-module",
"extra": {
"drupal": {
"version": "8.x-1.5",
"datestamp": "1648060331",
"version": "2.0.0",
"datestamp": "1669170410",
"security-coverage": {
"status": "covered",
"message": "Covered by Drupal's security advisory policy"
......
......@@ -3,7 +3,7 @@
'name' => 'osu-asc-webservices/d8-upstream',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '5dafc7fbe8adb99c5e7fe29817c3bb054341f064',
'reference' => '4f6f09d1c2c53c0bcf391beef217e1f65cc79f7b',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
......@@ -299,9 +299,9 @@
'dev_requirement' => false,
),
'drupal/allowed_formats' => array(
'pretty_version' => '1.5.0',
'version' => '1.5.0.0',
'reference' => '8.x-1.5',
'pretty_version' => '2.0.0',
'version' => '2.0.0.0',
'reference' => '2.0.0',
'type' => 'drupal-module',
'install_path' => __DIR__ . '/../../web/modules/allowed_formats',
'aliases' => array(),
......@@ -1549,7 +1549,7 @@
'osu-asc-webservices/d8-upstream' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '5dafc7fbe8adb99c5e7fe29817c3bb054341f064',
'reference' => '4f6f09d1c2c53c0bcf391beef217e1f65cc79f7b',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
......
......@@ -53,8 +53,10 @@ UI.
MAINTAINERS
-----------
* Jordan Thompson (nord102) - https://www.drupal.org/u/nord102
* Florian Loretan (floretan) - https://www.drupal.org/u/floretan
Supporting organization:
* Northern Commerce - https://www.drupal.org/northern-commerce
* Wunder - https://www.drupal.org/wunder-group
name: Allowed Formats
description: Limit which text formats are available for each field instance.
type: module
core_version_requirement: ^8.8 || ^9
core_version_requirement: ^9.2 || ^10
dependencies:
- drupal:field
- drupal:filter
# Information added by Drupal.org packaging script on 2022-03-23
version: '8.x-1.5'
# Information added by Drupal.org packaging script on 2022-11-23
version: '2.0.0'
project: 'allowed_formats'
datestamp: 1648060332
datestamp: 1669170415
......@@ -75,9 +75,9 @@ function allowed_formats_field_widget_third_party_settings_form(WidgetInterface
}
/**
* Implements hook_field_widget_form_alter().
* Implements hook_field_widget_single_element_form_alter().
*/
function allowed_formats_field_widget_form_alter(&$element, FormStateInterface $form_state, $context) {
function allowed_formats_field_widget_single_element_form_alter(&$element, FormStateInterface $form_state, $context) {
/** @var \Drupal\Core\Field\FieldDefinitionInterface $field_definition */
$field_definition = $context['items']->getFieldDefinition();
......
......@@ -32,6 +32,6 @@
"source": "http://cgit.drupalcode.org/allowed_formats"
},
"require": {
"drupal/core": "^8.8 || ^9"
"drupal/core": "^9.2 || ^10"
}
}
......@@ -2,12 +2,11 @@ name: 'Allowed formats base fields test'
type: module
description: 'Support module for allowed formats testing on base fields.'
package: Testing
core_version_requirement: ^8.7.7 || ^9
dependencies:
drupal:taxonomy
drupal:allowed_formats
# Information added by Drupal.org packaging script on 2022-03-23
version: '8.x-1.5'
# Information added by Drupal.org packaging script on 2022-11-23
version: '2.0.0'
project: 'allowed_formats'
datestamp: 1648060332
datestamp: 1669170415
......@@ -28,7 +28,7 @@ class AllowedFormatsTest extends BrowserTestBase {
*
* @var array
*/
public static $modules = [
protected static $modules = [
'entity_test',
'allowed_formats',
'field_ui',
......@@ -52,7 +52,7 @@ class AllowedFormatsTest extends BrowserTestBase {
/**
* {@inheritdoc}
*/
protected function setUp() {
protected function setUp(): void {
parent::setUp();
$this->adminUser = $this->drupalCreateUser([
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment