@mglaman@phpc.social
@mglaman@phpc.social avatar

mglaman

@mglaman@phpc.social

#php && #drupal dev

mglaman.eth | nmdmatt@twitter.com

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mglaman, to random
@mglaman@phpc.social avatar

For my blog, I wrote a media type source plugin that allows adding rich embeds of links (like on social platforms.)

Should I turn it into a contrib module? I call them "Embed links", I'm not sure what the project would be named.

mglaman,
@mglaman@phpc.social avatar

@DaleTrexel I was thinking the media prefix in machine name since it's for the media module.

The display name could be "Media: Content Embed Links"

or just call it "Media: Embed Links", media_embed_links and call it a day

mglaman,
@mglaman@phpc.social avatar

@DaleTrexel I use the embed/embed library, which normalizes open graph and other metadata. It's really simplistic

$embed_link = (new Embed)->get($media_url);

return match ($name) {
'default_name', 'title' => $embed_link->title,
'url' => $media_url,
'description' => $embed_link->description,
'image' => $embed_link->image,
default => null,
};

mglaman,
@mglaman@phpc.social avatar

@mandclu but, even sandbox need a name 🤔

mglaman,
@mglaman@phpc.social avatar

@DaleTrexel @mandclu I was thinking "Rich" should be in the name, and "Rich Links" is probably too generic. Unless media_rich_links

markusstaab, to opensource German
@markusstaab@phpc.social avatar

anyone aware of a which is heavily relying on process isolation?

I am working on reducing overhead of process isolation and would love testing my progress on a real world test-suite.

RT welcome

mglaman,
@mglaman@phpc.social avatar

@markusstaab D10 is blocked on 9, but I think 11 is bumping to 10 or 11. I've dropped a mention in Drupal Slack for folks to check (I don't know if we've made the bump yet)

mglaman,
@mglaman@phpc.social avatar

@markusstaab I will! if you're still curious:

SIMPLETEST_DB=sqlite://localhost/db.sqlite php vendor/bin/phpunit -c core/phpunit.xml --testsuite kernel

For all kernel tests in Drupal core

Or a subset

SIMPLETEST_DB=sqlite://localhost/db.sqlite php vendor/bin/phpunit -c core/phpunit.xml core/modules/system/tests/src/Kernel

mglaman,
@mglaman@phpc.social avatar

@markusstaab yes, I can write up a list for running them when I'm desktop today, making a note for myself. I meant to before but got caught up at a conference

mglaman,
@mglaman@phpc.social avatar

@markusstaab Drupal. All kernel test suite tests use it.

mglaman,
@mglaman@phpc.social avatar

@markusstaab shoot, we're stuck on 9. was this released for 11 only?

pcambra, to LEGO
@pcambra@drupal.community avatar

The Azure Kingfisher, set 10331

Small but interesting and challenging build with lots of technical pieces, I am enjoying this new theme, it’s very detailed and the base is pretty nice.

Lego kingfisher build
Lego kingfisher build

mglaman,
@mglaman@phpc.social avatar

@pcambra we just saw one of these at the zoo and then I showed our boys this Lego, super cool!

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman,
@mglaman@phpc.social avatar

@DaleTrexel yeah, it's tough. This should make it a lot better. I want to focus on more developer experience issues like this to make working with Drupal a bit more delightful. Not from a UI perspective but this kind of stuff.

froboy, to chicago
@froboy@mastodon.online avatar

in - 60° F apparent temperature change in less than 24 hours. 🤯 🏝️ 🥶

mglaman,
@mglaman@phpc.social avatar

@froboy we had a high of 75 yesterday. Now it's 18 and feels like 1

And there is snow.

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to random
@mglaman@phpc.social avatar

Currently, phpstan-drupal is still testing with PHP 7.4 and Drupal 9 for compatibility. I am considering bumping the minimum to PHP 8.1 and removing Drupal 9 from CI checks.

I wanted to solicit feedback before doing so https://github.com/mglaman/phpstan-drupal/issues/760

mglaman, to drupal
@mglaman@phpc.social avatar

I opened a DX issue for #Drupal to make Drupal automatically installable with default environment variables. I'd love your feedback! https://www.drupal.org/project/drupal/issues/3445816

mglaman, to drupal
@mglaman@phpc.social avatar

I hope to see you bright and early on Monday at 9 AM PDT at @drupalcon for my session on using Retrofit to save time upgrading from Drupal 7 to #Drupal 10 and beyond!

https://events.drupal.org/portland2024/session/save-time-upgrading-drupal-7-drupal-10-using-retrofit

mglaman, to drupal
@mglaman@phpc.social avatar

Room A106 at 9pm, come learn how Retrofit for Drupal can save you time upgrading from #Drupal 7 to 10 #DrupalCon

mglaman, to random
@mglaman@phpc.social avatar

The picture doesn't do it justice, but this spot is my favorite at MKE, especially on a sunny morning like today.

Officially on my way to #DrupalCon, can't wait!

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to drupal
@mglaman@phpc.social avatar

Are you using @phpstan on your #Drupal projects yet? Learn about PHPStan at my #MidCamp talk, "Tighten up your Drupal code using PHPStan," at 11:15am! Room 314A

mglaman, to drupal
@mglaman@phpc.social avatar

This needs to be a blog post, but here's an example of how smart_date can handle a deprecation in #Drupal 10.2 and keep ^9 || ^10 compatibility

MR https://git.drupalcode.org/project/smart_date/-/merge_requests/81

Blog about DeprecationHelper https://mglaman.dev/blog/writing-backward-compatible-deprecation-fixes-contributed-modules-will-be-much-easier-drupal

mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to drupal
@mglaman@phpc.social avatar
mglaman, to random
@mglaman@phpc.social avatar

A BoF was scheduled for Retrofit - room G131 at 3:3Opm! If you want to ask questions about Retrofit for your Drupal 7 upgrade, that's the place to be #DrupalCon

mglaman, to random
@mglaman@phpc.social avatar

I joined Pinkary, cool project and I like the AMA aspect

https://pinkary.com/@mglaman

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • thenastyranch
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • ngwrru68w68
  • provamag3
  • magazineikmin
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • JUstTest
  • All magazines